typo
authorChristian Grothoff <christian@grothoff.org>
Mon, 4 Jun 2018 21:26:12 +0000 (23:26 +0200)
committerChristian Grothoff <christian@grothoff.org>
Tue, 5 Jun 2018 07:33:08 +0000 (09:33 +0200)
src/util/getopt_helpers.c

index f9341f528cb1b2dd1b9389fa67b8d6b0be8482ab..fb8cc4d4551a845a42e289b37eda494166a036a4 100644 (file)
@@ -819,7 +819,7 @@ set_uint16 (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx,
   (void) ctx;
   if (1 != SSCANF (value,
                    "%u",
-                   v))
+                   &v))
   {
     FPRINTF (stderr,
              _("You must pass a number to the `%s' option.\n"),