aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/mainloop.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/mainloop.c b/apps/mainloop.c
index 73b2236..9e378d1 100644
--- a/apps/mainloop.c
+++ b/apps/mainloop.c
@@ -11,6 +11,9 @@ static char rcsid[] =
/*
* $Log$
+ * Revision 1.12 2008/02/26 23:23:16 james
+ * *** empty log message ***
+ *
* Revision 1.11 2008/02/24 00:43:55 james
* *** empty log message ***
*
@@ -88,6 +91,8 @@ static char rcsid[] =
#include "clients.h"
+Context *context;
+
typedef struct
{
int nclients;
@@ -389,6 +394,8 @@ mainloop (TTY * tty, Socket * server_socket, Socket * client_socket,
Context c = { 0 };
Clients *clients;
+ context=&c;
+
c.tp = tty_parser_new ();
c.u = utf8_new ();