diff options
author | james <> | 2012-06-22 10:22:25 +0000 |
---|---|---|
committer | james <> | 2012-06-22 10:22:25 +0000 |
commit | c945112e89222e697c3733c69eab685f606a5be5 (patch) | |
tree | 20d0d125ed4d76259f87740d5cd9344bcade24d5 /apps/mainloop.c | |
parent | 9a219228a74b32f3b3202609a155d8f22ba47da8 (diff) | |
download | sympathy-c945112e89222e697c3733c69eab685f606a5be5.tar.gz sympathy-c945112e89222e697c3733c69eab685f606a5be5.tar.bz2 sympathy-c945112e89222e697c3733c69eab685f606a5be5.zip |
*** empty log message ***
Diffstat (limited to 'apps/mainloop.c')
-rw-r--r-- | apps/mainloop.c | 12 |
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; } } |