aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-core.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-04-11 12:27:42 +0000
committerChristian Grothoff <christian@grothoff.org>2014-04-11 12:27:42 +0000
commitd5f98dfba6a29e3386500a63f76231b18cfc8045 (patch)
tree9a1335567a64e5d07e33b1f69a52a2abeb5743b8 /src/core/gnunet-core.c
parente91e76861238b92c43c1938d4bf7179a94ba4b37 (diff)
downloadgnunet-d5f98dfba6a29e3386500a63f76231b18cfc8045.tar.gz
gnunet-d5f98dfba6a29e3386500a63f76231b18cfc8045.zip
-fix crash on shutdown
Diffstat (limited to 'src/core/gnunet-core.c')
-rw-r--r--src/core/gnunet-core.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/gnunet-core.c b/src/core/gnunet-core.c
index 25127da66..0f475d08b 100644
--- a/src/core/gnunet-core.c
+++ b/src/core/gnunet-core.c
@@ -119,10 +119,12 @@ monitor_cb (void *cls,
119 } 119 }
120 now_str = GNUNET_STRINGS_absolute_time_to_string (now); 120 now_str = GNUNET_STRINGS_absolute_time_to_string (now);
121 FPRINTF (stdout, 121 FPRINTF (stdout,
122 _("%24s: %-17s %4s\n"), 122 _("%24s: %-30s %4s (timeout in %6s)\n"),
123 now_str, 123 now_str,
124 state_str, 124 state_str,
125 GNUNET_i2s (peer)); 125 GNUNET_i2s (peer),
126 GNUNET_STRINGS_relative_time_to_string (GNUNET_TIME_absolute_get_remaining (timeout),
127 GNUNET_YES));
126} 128}
127 129
128 130