summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 21:36:36 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 21:36:36 -0500
commit2f3e00c9d356a4ae679c6252dd5dedff9a4aa2d4 (patch)
tree52f2d8a16006aff385679e530550f9b7a2e548e7
parent26414f0916d7e57354ce6c6496025b61707e46de (diff)
added comment
-rw-r--r--response.c1
-rw-r--r--response.h3
2 files changed, 3 insertions, 1 deletions
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);
+