diff options
Diffstat (limited to 'apps/mainloop.c')
-rw-r--r-- | apps/mainloop.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/mainloop.c b/apps/mainloop.c index f515478..851f296 100644 --- a/apps/mainloop.c +++ b/apps/mainloop.c @@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.4 2008/02/20 17:18:33 james + * *** empty log message *** + * * Revision 1.3 2008/02/20 02:11:35 james * *** empty log message *** * @@ -333,13 +336,13 @@ mainloop (TTY * tty, Socket * server_socket, Socket * client_socket, Ansi * a, Log * log) { fd_set rfds, wfds; - Context c; + Context c={0}; Clients *clients; c.v = vt102_new (); c.h = history_new (200); - c.l = log + c.l = log; /* are we being fed by a tty or a socket */ if (client_socket) { |