gnome-mud r720 - in trunk: . src



Author: mraudsepp
Date: Sun Feb 15 06:46:55 2009
New Revision: 720
URL: http://svn.gnome.org/viewvc/gnome-mud?rev=720&view=rev

Log:
* src/mud-telnet.c (mud_telnet_process): Add a missing break
after TEL_STATE_DO handler to stop the WILL code to be
executed as well. Fixes telnet options negotiated by the
server with a DO request, such as NAWS and TTYPE.



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	Sun Feb 15 06:46:55 2009
@@ -395,6 +395,7 @@
 	    mud_telnet_handle_positive_nego(telnet, (guchar)telnet->buffer->str[i],
 					    (guchar)TEL_WILL, (guchar)TEL_WONT, FALSE);
 	    telnet->tel_state = TEL_STATE_TEXT;
+	    break;
 
 	case TEL_STATE_WILL:
 	    opt = mud_telnet_get_telopt_string((guchar)telnet->buffer->str[i]);



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