aboutsummaryrefslogtreecommitdiff
path: root/src/nse/gnunet-nse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nse/gnunet-nse.c')
-rw-r--r--src/nse/gnunet-nse.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nse/gnunet-nse.c b/src/nse/gnunet-nse.c
index 29f0003cb..97c3da29b 100644
--- a/src/nse/gnunet-nse.c
+++ b/src/nse/gnunet-nse.c
@@ -21,7 +21,7 @@
21/** 21/**
22 * @file nse/gnunet-nse.c 22 * @file nse/gnunet-nse.c
23 * @brief Program to display network size estimates from the NSE service 23 * @brief Program to display network size estimates from the NSE service
24 * @author Sree Harsha Totakura <sreeharsha@totakura.in> 24 * @author Sree Harsha Totakura <sreeharsha@totakura.in>
25 */ 25 */
26 26
27#include "platform.h" 27#include "platform.h"
@@ -57,10 +57,9 @@ static int status;
57 * Task to shutdown and clean up all state 57 * Task to shutdown and clean up all state
58 * 58 *
59 * @param cls NULL 59 * @param cls NULL
60 * @param tc the scheduler task context
61 */ 60 */
62static void 61static void
63do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 62do_shutdown (void *cls)
64{ 63{
65 shutdown_task = NULL; 64 shutdown_task = NULL;
66 if (NULL != test) 65 if (NULL != test)
@@ -160,7 +159,7 @@ main (int argc, char *const *argv)
160 static struct GNUNET_GETOPT_CommandLineOption options[] = { 159 static struct GNUNET_GETOPT_CommandLineOption options[] = {
161 GNUNET_GETOPT_OPTION_END 160 GNUNET_GETOPT_OPTION_END
162 }; 161 };
163 162
164 status = 1; 163 status = 1;
165 if (GNUNET_OK != 164 if (GNUNET_OK !=
166 GNUNET_PROGRAM_run (argc, argv, "gnunet-nse", 165 GNUNET_PROGRAM_run (argc, argv, "gnunet-nse",