aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/gnunet-core.c')
-rw-r--r--src/core/gnunet-core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/gnunet-core.c b/src/core/gnunet-core.c
index 674da705a..aeb3ba61f 100644
--- a/src/core/gnunet-core.c
+++ b/src/core/gnunet-core.c
@@ -108,7 +108,7 @@ monitor_cb (void *cls,
108 case GNUNET_CORE_KX_ITERATION_FINISHED: 108 case GNUNET_CORE_KX_ITERATION_FINISHED:
109 return; 109 return;
110 case GNUNET_CORE_KX_CORE_DISCONNECT: 110 case GNUNET_CORE_KX_CORE_DISCONNECT:
111 FPRINTF (stderr, 111 fprintf (stderr,
112 "%s\n", 112 "%s\n",
113 _ ("Connection to CORE service lost (reconnecting)")); 113 _ ("Connection to CORE service lost (reconnecting)"));
114 return; 114 return;
@@ -117,7 +117,7 @@ monitor_cb (void *cls,
117 break; 117 break;
118 } 118 }
119 now_str = GNUNET_STRINGS_absolute_time_to_string (now); 119 now_str = GNUNET_STRINGS_absolute_time_to_string (now);
120 FPRINTF (stdout, 120 fprintf (stdout,
121 _ ("%24s: %-30s %4s (timeout in %6s)\n"), 121 _ ("%24s: %-30s %4s (timeout in %6s)\n"),
122 now_str, 122 now_str,
123 state_str, 123 state_str,
@@ -146,13 +146,13 @@ run (void *cls,
146 (void) cfgfile; 146 (void) cfgfile;
147 if (NULL != args[0]) 147 if (NULL != args[0])
148 { 148 {
149 FPRINTF (stderr, _ ("Invalid command line argument `%s'\n"), args[0]); 149 fprintf (stderr, _ ("Invalid command line argument `%s'\n"), args[0]);
150 return; 150 return;
151 } 151 }
152 mh = GNUNET_CORE_monitor_start (cfg, &monitor_cb, NULL); 152 mh = GNUNET_CORE_monitor_start (cfg, &monitor_cb, NULL);
153 if (NULL == mh) 153 if (NULL == mh)
154 { 154 {
155 FPRINTF (stderr, "%s", _ ("Failed to connect to CORE service!\n")); 155 fprintf (stderr, "%s", _ ("Failed to connect to CORE service!\n"));
156 return; 156 return;
157 } 157 }
158 GNUNET_SCHEDULER_add_shutdown (&shutdown_task, NULL); 158 GNUNET_SCHEDULER_add_shutdown (&shutdown_task, NULL);