aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mainloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mainloop.c')
-rw-r--r--apps/mainloop.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/mainloop.c b/apps/mainloop.c
index 5237bfe..9c434bb 100644
--- a/apps/mainloop.c
+++ b/apps/mainloop.c
@@ -11,6 +11,9 @@ static char rcsid[] =
/*
* $Log$
+ * Revision 1.34 2012/06/22 10:22:24 james
+ * *** empty log message ***
+ *
* Revision 1.33 2008/05/09 12:35:57 james
* *** empty log message ***
*
@@ -154,6 +157,11 @@ static char rcsid[] =
#include "clients.h"
+static inline char *
+stop_wno_unused_on_rcsid (void)
+{
+ return rcsid;
+}
typedef struct
{
@@ -436,7 +444,7 @@ msg_from_server (ANSI * a, IPC_Msg * m, Context * c)
}
break;
case IPC_MSG_TYPE_TERM:
- err += tty_parse (c, m->term.term, m->term.len);
+ err += tty_parse (c, (uint8_t *) m->term.term, m->term.len);
break;
case IPC_MSG_TYPE_STATUS:
cmd_new_status (c->d, c, m->status.status);
@@ -564,7 +572,7 @@ mainloop (Context * c, ANSI * ansi, Socket * server_socket,
{
if (clients)
send_output (clients, buf, red);
- if (tty_parse (c, buf, red))
+ if (tty_parse (c, (uint8_t *) buf, red))
break;
}
}