aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorjames <>2008-02-26 23:23:17 +0000
committerjames <>2008-02-26 23:23:17 +0000
commitf2b8bf1dc0714a6aacb11ec9634e856a8f4cab03 (patch)
treebe3b4f30343a87fefbfdb6e7d433a97a7cea75ac /apps
parent3aef93277df7fe073486ec406a5fe55d3a45e504 (diff)
downloadsympathy-f2b8bf1dc0714a6aacb11ec9634e856a8f4cab03.tar.gz
sympathy-f2b8bf1dc0714a6aacb11ec9634e856a8f4cab03.tar.bz2
sympathy-f2b8bf1dc0714a6aacb11ec9634e856a8f4cab03.zip
*** empty log message ***
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 ();