#221 Client must guarantee that data sent over the network complies to the network protocol
This commit is contained in:
@@ -395,8 +395,9 @@ void addmsg(int type, const char *fmt, ...)
|
||||
}
|
||||
case 's':
|
||||
{
|
||||
const char *t = va_arg(args, const char *);
|
||||
if(t) sendstring(t, p); nums++; break;
|
||||
sendstring(va_arg(args, const char*), p);
|
||||
nums++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
va_end(args);
|
||||
|
||||
Reference in New Issue
Block a user