From 2f3e00c9d356a4ae679c6252dd5dedff9a4aa2d4 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 21:36:36 -0500 Subject: added comment --- response.c | 1 + response.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/response.c b/response.c index f8620b0..f92a101 100644 --- a/response.c +++ b/response.c @@ -98,6 +98,7 @@ static void writeOutput(GPollableOutputStream* stream, gchar* data) if (data==NULL) { terminated = g_strdup(""); } else if (!strlen(data)) { + // prompt generation terminated = g_strdup("\r\n> "); } else { terminated = g_strdup_printf ("%s\r\n", data); diff --git a/response.h b/response.h index ff03826..ab41326 100644 --- a/response.h +++ b/response.h @@ -12,4 +12,5 @@ typedef struct _streamStruct { gboolean cbClientInput(gpointer data, gpointer additional); gboolean cbClientOutput(gpointer data, gpointer additional); void initSignals(guint *signal); -void responseCb(gpointer instance, GObject *arg1, gpointer user_data); \ No newline at end of file +void responseCb(gpointer instance, GObject *arg1, gpointer user_data); + -- cgit