projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- added check against statistics
[oweals/gnunet.git]
/
src
/
nat
/
gnunet-helper-nat-client.c
diff --git
a/src/nat/gnunet-helper-nat-client.c
b/src/nat/gnunet-helper-nat-client.c
index cc51fb575e6e9171dbf1dc0235f43213acc27a52..73504ab1dec311b8b4092881c1935a85e9df91a0 100644
(file)
--- a/
src/nat/gnunet-helper-nat-client.c
+++ b/
src/nat/gnunet-helper-nat-client.c
@@
-473,7
+473,7
@@
main (int argc, char *const *argv)
global_ret = 7;
goto cleanup;
}
- if ((1 !=
SSCANF
(argv[3], "%u", &p)) || (0 == p) || (0xFFFF < p))
+ if ((1 !=
sscanf
(argv[3], "%u", &p)) || (0 == p) || (0xFFFF < p))
{
fprintf (stderr, "Error parsing port value `%s'\n", argv[3]);
global_ret = 8;