aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mainloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mainloop.c')
-rw-r--r--apps/mainloop.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/mainloop.c b/apps/mainloop.c
index 6eec7be..15c30ed 100644
--- a/apps/mainloop.c
+++ b/apps/mainloop.c
@@ -11,6 +11,9 @@ static char rcsid[] =
/*
* $Log$
+ * Revision 1.28 2008/03/07 13:56:39 james
+ * *** empty log message ***
+ *
* Revision 1.27 2008/03/07 13:16:02 james
* *** empty log message ***
*
@@ -392,7 +395,7 @@ msg_from_server (ANSI * a, IPC_Msg * m, Context * c)
break;
case IPC_MSG_TYPE_VT102:
if (sizeof (VT102) != m->vt102.len)
- crash_out("sizeof(VT102) differs in client and server");
+ crash_out ("sizeof(VT102) differs in client and server");
*(c->v) = m->vt102.vt102;
@@ -428,11 +431,11 @@ mainloop (Context * c, ANSI * ansi, Socket * server_socket,
/* are we being fed by a tty or a socket */
if (client_socket) {
if (server_socket)
- crash_out("mainloop cannot both be a server and a client");
+ crash_out ("mainloop cannot both be a server and a client");
c->k = keydis_ipc_new (client_socket);
} else {
if (!c->t)
- crash_out("mainloop must have either a client_socket or a terminal");
+ crash_out ("mainloop must have either a client_socket or a terminal");
c->k = keydis_vt102_new ();
}
@@ -450,7 +453,7 @@ mainloop (Context * c, ANSI * ansi, Socket * server_socket,
if (server_socket) {
if (client_socket)
- crash_out("mainloop cannot both be a server and a client");
+ crash_out ("mainloop cannot both be a server and a client");
clients = clients_new ();
} else {
clients = NULL;