gnome-mud r789 - in trunk: . src
- From: lharris svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-mud r789 - in trunk: . src
- Date: Fri, 13 Mar 2009 23:55:15 +0000 (UTC)
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]