diff options
Diffstat (limited to 'src/namestore/gnunet-zoneimport.c')
-rw-r--r-- | src/namestore/gnunet-zoneimport.c | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/src/namestore/gnunet-zoneimport.c b/src/namestore/gnunet-zoneimport.c index 4f0f848a4..e7d040ec4 100644 --- a/src/namestore/gnunet-zoneimport.c +++ b/src/namestore/gnunet-zoneimport.c | |||
@@ -2044,26 +2044,29 @@ main (int argc, | |||
2044 | &minimum_expiration_time), | 2044 | &minimum_expiration_time), |
2045 | GNUNET_GETOPT_OPTION_END | 2045 | GNUNET_GETOPT_OPTION_END |
2046 | }; | 2046 | }; |
2047 | int ret; | ||
2047 | 2048 | ||
2048 | if (GNUNET_OK != | 2049 | if (GNUNET_OK != |
2049 | GNUNET_STRINGS_get_utf8_args (argc, argv, | 2050 | GNUNET_STRINGS_get_utf8_args (argc, argv, |
2050 | &argc, &argv)) | 2051 | &argc, &argv)) |
2051 | return 2; | 2052 | return 2; |
2052 | GNUNET_PROGRAM_run (argc, | 2053 | if (GNUNET_OK != |
2053 | argv, | 2054 | (ret = GNUNET_PROGRAM_run (argc, |
2054 | "gnunet-zoneimport", | 2055 | argv, |
2055 | "import DNS zone into namestore", | 2056 | "gnunet-zoneimport", |
2056 | options, | 2057 | "import DNS zone into namestore", |
2057 | &run, | 2058 | options, |
2058 | NULL); | 2059 | &run, |
2060 | NULL))) | ||
2061 | return ret; | ||
2059 | GNUNET_free ((void*) argv); | 2062 | GNUNET_free ((void*) argv); |
2060 | fprintf (stderr, | 2063 | fprintf (stderr, |
2061 | "Rejected %u names, had %u cached, did %u lookups, stored %u record sets\n" | 2064 | "Rejected %u names, had %u cached, did %u lookups, stored %u record sets\n" |
2062 | "Found %u records, %u lookups failed, %u/%u pending on shutdown\n", | 2065 | "Found %u records, %u lookups failed, %u/%u pending on shutdown\n", |
2063 | rejects, | 2066 | rejects, |
2064 | cached, | 2067 | cached, |
2065 | lookups, | 2068 | lookups, |
2066 | record_sets, | 2069 | record_sets, |
2067 | records, | 2070 | records, |
2068 | failures, | 2071 | failures, |
2069 | pending, | 2072 | pending, |