diff options
Diffstat (limited to 'src/util/gnunet-uri.c')
-rw-r--r-- | src/util/gnunet-uri.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/util/gnunet-uri.c b/src/util/gnunet-uri.c index 75e70d2b7..f69508f67 100644 --- a/src/util/gnunet-uri.c +++ b/src/util/gnunet-uri.c | |||
@@ -52,6 +52,7 @@ static void | |||
52 | maint_child_death (void *cls) | 52 | maint_child_death (void *cls) |
53 | { | 53 | { |
54 | enum GNUNET_OS_ProcessStatusType type; | 54 | enum GNUNET_OS_ProcessStatusType type; |
55 | |||
55 | if ( (GNUNET_OK != | 56 | if ( (GNUNET_OK != |
56 | GNUNET_OS_process_status (p, &type, &exit_code)) || | 57 | GNUNET_OS_process_status (p, &type, &exit_code)) || |
57 | (type != GNUNET_OS_PROCESS_EXITED) ) | 58 | (type != GNUNET_OS_PROCESS_EXITED) ) |
@@ -80,12 +81,14 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
80 | 81 | ||
81 | if (NULL == (uri = args[0])) | 82 | if (NULL == (uri = args[0])) |
82 | { | 83 | { |
83 | fprintf (stderr, _("No URI specified on command line\n")); | 84 | fprintf (stderr, |
85 | _("No URI specified on command line\n")); | ||
84 | return; | 86 | return; |
85 | } | 87 | } |
86 | if (0 != strncasecmp ("gnunet://", uri, strlen ("gnunet://"))) | 88 | if (0 != strncasecmp ("gnunet://", uri, strlen ("gnunet://"))) |
87 | { | 89 | { |
88 | fprintf (stderr, _("Invalid URI: does not start with `%s'\n"), | 90 | fprintf (stderr, |
91 | _("Invalid URI: does not start with `%s'\n"), | ||
89 | "gnunet://"); | 92 | "gnunet://"); |
90 | return; | 93 | return; |
91 | } | 94 | } |