diff options
-rw-r--r-- | src/src/exim.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/src/exim.c b/src/src/exim.c index 9da921a5c..38ce2b46f 100644 --- a/src/src/exim.c +++ b/src/src/exim.c @@ -958,8 +958,9 @@ void show_string(BOOL is_stdout, gstring * g) { const uschar * s = string_from_gstring(g); -if (is_stdout) fputs(CCS s, stdout); -else debug_printf("%s", s); +if (s) + if (is_stdout) fputs(CCS s, stdout); + else debug_printf("%s", s); } |