Returns now GNUNET_SYSERR
[oweals/gnunet.git] / src / util / getopt.c
index 60673af082fc588af39b7a681decdf6428696c3e..e525525d7c07a21246dc49c46c45d80fbd54483b 100644 (file)
@@ -1023,7 +1023,7 @@ GNUNET_GETOPT_run (const char *binaryOptions,
   long_options[count].has_arg = 0;
   long_options[count].flag = NULL;
   long_options[count].val = '\0';
-  shorts[spos++] = '\0';
+  shorts[spos] = '\0';
   cont = GNUNET_OK;
   /* main getopt loop */
   while (cont == GNUNET_OK)