-code deduplication in rsa sign/verify code
[oweals/gnunet.git] / src / util / getopt.c
index 415bb4b6b742cae7f1cf8f32e9cc25d4836287a3..64e4341e6cb73bea6da8929339152cbe35e33685 100644 (file)
@@ -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;
 }