diff options
author | Martin Willi <martin@strongswan.org> | 2009-04-07 17:13:44 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-04-07 17:13:44 +0000 |
commit | cf61575dc321af853930a926768ec656a7ac546a (patch) | |
tree | 3fd4b0ae21787421bbd5246f302136510e1e845e /src/dumm/mconsole.c | |
parent | 801548155cda1e4ccff51dd38607c360092a254e (diff) | |
download | strongswan-cf61575dc321af853930a926768ec656a7ac546a.tar.bz2 strongswan-cf61575dc321af853930a926768ec656a7ac546a.tar.xz |
added booted?/boot methods
Diffstat (limited to 'src/dumm/mconsole.c')
-rw-r--r-- | src/dumm/mconsole.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dumm/mconsole.c b/src/dumm/mconsole.c index 02db5ab7e..72d6d1b5e 100644 --- a/src/dumm/mconsole.c +++ b/src/dumm/mconsole.c @@ -147,8 +147,11 @@ static int request(private_mconsole_t *this, void(*cb)(void*,char*,size_t), } else if (reply.err) { - DBG1("received mconsole error %d: %*.s", - reply.err, reply.len, reply.data); + if (reply.len && *reply.data) + { + DBG1("received mconsole error %d: %*.s", + reply.err, reply.len, reply.data); + } break; } } |