From f82523859490907ee794218021831a7ed6220e3c Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 25 Jun 2009 11:24:18 +0200 Subject: [PATCH] print "none" if not serving any segments --- src/charon/plugins/ha_sync/ha_sync_segments.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charon/plugins/ha_sync/ha_sync_segments.c b/src/charon/plugins/ha_sync/ha_sync_segments.c index aad6e68f6..f6f66bae9 100644 --- a/src/charon/plugins/ha_sync/ha_sync_segments.c +++ b/src/charon/plugins/ha_sync/ha_sync_segments.c @@ -80,7 +80,7 @@ static bool in_segment(private_ha_sync_segments_t *this, static void log_segments(private_ha_sync_segments_t *this, bool activated, u_int segment) { - char buf[64], *pos = buf; + char buf[64] = "none", *pos = buf; int i; bool first = TRUE;