diff options
author | Werner Koch <[email protected]> | 2006-08-29 16:18:30 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-08-29 16:18:30 +0000 |
commit | d8602648b8c27a008dfaef981cc35cf9107976bb (patch) | |
tree | 86a948495992bd0a2da7eb0e4b6e102108814d70 /jnlib/logging.c | |
parent | Allow for 4k ssh keys and better error reporting. (diff) | |
download | gnupg-d8602648b8c27a008dfaef981cc35cf9107976bb.tar.gz gnupg-d8602648b8c27a008dfaef981cc35cf9107976bb.zip |
See ChangeLogs
Diffstat (limited to 'jnlib/logging.c')
-rw-r--r-- | jnlib/logging.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/jnlib/logging.c b/jnlib/logging.c index 20ba02ccd..568c67247 100644 --- a/jnlib/logging.c +++ b/jnlib/logging.c @@ -486,9 +486,17 @@ do_logv (int level, const char *fmt, va_list arg_ptr) } if (level == JNLIB_LOG_FATAL) - exit(2); + { + if (missing_lf) + putc('\n', logstream ); + exit(2); + } if (level == JNLIB_LOG_BUG) - abort(); + { + if (missing_lf) + putc('\n', logstream ); + abort(); + } } static void |