[mw-devel] MW3 r979 - trunk/src

arthur at sucs.org arthur at sucs.org
Sat Nov 3 14:57:49 GMT 2007


Author: arthur
Date: 2007-11-03 14:57:49 +0000 (Sat, 03 Nov 2007)
New Revision: 979

Modified:
   trunk/src/edit.c
Log:
edit sends the string not the calculated time


Modified: trunk/src/edit.c
===================================================================
--- trunk/src/edit.c	2007-11-03 14:41:12 UTC (rev 978)
+++ trunk/src/edit.c	2007-11-03 14:57:49 UTC (rev 979)
@@ -375,6 +375,7 @@
 			else
 			{
 				usr.timeout=tv;
+				snprintf(tt,20,"%d",tv);
 				ipc_send_to_username(usr.name, IPC_TIMEOUT, tt);
 				broadcast(3, "%s has just changed %s's timeout to %ld seconds.", user->name, usr.name, usr.timeout);
 				printf(_("New timeout set to %ld seconds.\n"),(long)usr.timeout);





More information about the mw-devel mailing list