Use GNUC format attribute on print functions

Closes #1059
This commit is contained in:
Campbell Barton authored and TingPing committed 2014-07-18 07:09:07 -04:00
1 parent 21c0e47869
commit 93caf4c7b4
5 files changed
+26 -10

No files matched your search

+1 -1
View File
@@ -273,7 +273,7 @@ tcp_send (server *serv, char *buf)
}*/
void
tcp_sendf (server *serv, char *fmt, ...)
tcp_sendf (server *serv, const char *fmt, ...)
{
va_list args;
/* keep this buffer in BSS. Converting UTF-8 to ISO-8859-x might make the