From 3a9e2224b336e2ac7ac8773b742552cbf68dae37 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Fri, 1 Jul 2011 11:33:42 -0500 Subject: Add another check for out_stream now all refrences are validated before writing to it --- src/cli_new.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli_new.c b/src/cli_new.c index 6ba3910..3498025 100644 --- a/src/cli_new.c +++ b/src/cli_new.c @@ -2243,7 +2243,7 @@ system_out(char *cmd, const char *prepend_msg, boolean eloc) * underlying problem. (heck, even (1) is fugly as hell, but * right now it's simply not feasible to look into it.) */ - if (prepend) { + if (prepend && out_stream != NULL) { prepend = 0; /* XXX follow original behavior */ -- cgit v1.2.3