#221 Client must guarantee that data sent over the network complies to the network protocol

This commit is contained in:
drian
2021-02-09 06:59:12 +01:00
parent 05003f9238
commit 0503344c6b
+3 -2
View File
@@ -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);