gnome-mud r789 - in trunk: . src



Author: lharris
Date: Fri Mar 13 23:55:15 2009
New Revision: 789
URL: http://svn.gnome.org/viewvc/gnome-mud?rev=789&view=rev

Log:
Poll for mccp-new in processing loop. Prevents MCCP corruption when it is disabled and then reenabled.


Modified:
   trunk/ChangeLog
   trunk/src/mud-telnet.c

Modified: trunk/src/mud-telnet.c
==============================================================================
--- trunk/src/mud-telnet.c	(original)
+++ trunk/src/mud-telnet.c	Fri Mar 13 23:55:15 2009
@@ -404,7 +404,6 @@
                 "mccp-new",    &mccp_new,
                 NULL);
 
-
     if(mccp_active)
     {
         GString *ret = NULL;
@@ -431,7 +430,10 @@
     for (i = 0; i < count; ++i)
     {
         if(mccp_handler)
-            g_object_get(mccp_handler, "mccp-active", &mccp_active, NULL);
+            g_object_get(mccp_handler,
+                         "mccp-active", &mccp_active,
+                         "mccp-new", &mccp_new,
+                         NULL);
 
         switch (telnet->priv->tel_state)
         {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]