metrics client: add basic sanity check for numeric arguments

"atoi" and "atod" don't do any conversions or error checks, they
just return 0 on error.  They should be illegal.

TEST=checked various valid and invalid inputs

Change-Id: I53a92ccab5f44e18e8ac27154c2b2826d355a6c0
Reviewed-by: Darren Krahn <>
Tested-by: Luigi Semenzato <>
Commit-Queue: Luigi Semenzato <>
1 file changed
tree: 85ee2cf3e5e5817d65661fb33ce3560a3deb033a
  1. metrics/