diff options
-rw-r--r-- | response.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -95,9 +95,9 @@ static void writeOutput(GPollableOutputStream* stream, gchar* data) gchar *terminated; if (data==NULL) { - terminated = g_strdup("\r\n"); + terminated = g_strdup(""); } else if (!strlen(data)) { - terminated = g_strdup("> "); + terminated = g_strdup("\r\n> "); } else { terminated = g_strdup_printf ("%s\r\n", data); } |