projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fix 2699
[oweals/gnunet.git]
/
src
/
util
/
getopt.c
diff --git
a/src/util/getopt.c
b/src/util/getopt.c
index 415bb4b6b742cae7f1cf8f32e9cc25d4836287a3..64e4341e6cb73bea6da8929339152cbe35e33685 100644
(file)
--- a/
src/util/getopt.c
+++ b/
src/util/getopt.c
@@
-939,8
+939,10
@@
GNUNET_GETOPT_run (const char *binaryOptions,
GNUNET_free (shorts);
GNUNET_free (long_options);
- if (cont == GNUNET_SYSERR)
- return GNUNET_SYSERR;
+ if (cont != GNUNET_OK)
+ {
+ return cont;
+ }
return GNoptind;
}