Fix compile for gcc 4.4.

--HG--
branch : trunk
This commit is contained in:
panaut0lordv committed 2009-05-06 19:30:34 +02:00
1 parent 8cd49be2ff
commit b3de9cdff7
6 files changed
+45 -23

No files matched your search

+1 -1
View File
@@ -1012,7 +1012,7 @@ void TcpSocket::Sendf(const char *format, ...)
#ifdef _WIN32
vsprintf(slask, format, ap);
#else
vsnprintf(slask, 5000, format, ap);
DEB(vsnprintf(slask, 5000, format, ap);)
#endif
va_end(ap);
Send( slask );