summary refs log tree commit diff stats
path: root/src/common/server.c
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-07-18 11:25:41 +1000
committerTingPing <tingping@tingping.se>2014-07-18 07:09:07 -0400
commit93caf4c7b4e6b7d1f3424263df8ac97397f48d13 (patch)
tree9a554e04c11c654f1ef05f47b0a1a059c1e16742 /src/common/server.c
parent21c0e478690f36322fd4f40c031a4407c8485879 (diff)
Use GNUC format attribute on print functions
Closes #1059
Diffstat (limited to 'src/common/server.c')
-rw-r--r--src/common/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/server.c b/src/common/server.c
index eea7ce08..98785937 100644
--- a/src/common/server.c
+++ b/src/common/server.c
@@ -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