[mw-devel] MW3 r1329 - trunk/src/webclient
arthur at sucs.org
arthur at sucs.org
Tue Feb 12 07:28:55 GMT 2013
Author: arthur
Date: 2013-02-12 07:28:54 +0000 (Tue, 12 Feb 2013)
New Revision: 1329
Modified:
trunk/src/webclient/comms.c
Log:
undo change 1328 it makes it crash
Modified: trunk/src/webclient/comms.c
===================================================================
--- trunk/src/webclient/comms.c 2013-02-03 13:14:45 UTC (rev 1328)
+++ trunk/src/webclient/comms.c 2013-02-12 07:28:54 UTC (rev 1329)
@@ -144,11 +144,7 @@
msg->state = state;
msg->pid = mesg_pid;
msg->user = *mesg_user;
- /* new format messages are already json */
- if (state >= 32)
- msg->text = newbuff;
- else
- msg->text = json_escape(newbuff);
+ msg->text = json_escape(newbuff);
list_add_tail(&msg->list, &msglist);
More information about the mw-devel
mailing list