summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--response.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/response.c b/response.c
index db008dd..52cf944 100644
--- a/response.c
+++ b/response.c
@@ -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);
}