gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: fix #5677


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix #5677
Date: Sat, 06 Apr 2019 16:37:43 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 6e209ab50 fix #5677
6e209ab50 is described below

commit 6e209ab5050f8d285381c1be4117f918a496b8d0
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Apr 6 16:37:42 2019 +0200

    fix #5677
---
 src/namestore/gnunet-zoneimport.c | 27 +++++++++++++++------------
 1 file 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,
                                         &minimum_expiration_time),
     GNUNET_GETOPT_OPTION_END
   };
+  int ret;
 
   if (GNUNET_OK !=
       GNUNET_STRINGS_get_utf8_args (argc, argv,
-                                   &argc, &argv))
+                                    &argc, &argv))
     return 2;
-  GNUNET_PROGRAM_run (argc,
-                     argv,
-                     "gnunet-zoneimport",
-                     "import DNS zone into namestore",
-                     options,
-                     &run,
-                     NULL);
+  if (GNUNET_OK !=
+      (ret = GNUNET_PROGRAM_run (argc,
+                                 argv,
+                                 "gnunet-zoneimport",
+                                 "import DNS zone into namestore",
+                                 options,
+                                 &run,
+                                 NULL)))
+    return ret;
   GNUNET_free ((void*) argv);
   fprintf (stderr,
            "Rejected %u names, had %u cached, did %u lookups, stored %u record 
sets\n"
-          "Found %u records, %u lookups failed, %u/%u pending on shutdown\n",
-          rejects,
-          cached,
+           "Found %u records, %u lookups failed, %u/%u pending on shutdown\n",
+           rejects,
+           cached,
            lookups,
-          record_sets,
+           record_sets,
            records,
            failures,
            pending,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]