aboutsummaryrefslogtreecommitdiffstats
path: root/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.h b/socket.h
index 89907745..a9882ce1 100644
--- a/socket.h
+++ b/socket.h
@@ -38,7 +38,7 @@ Send formatted output to the socket (matches interface of fprintf).
Returns number of bytes successfully written.
*/
#if defined(HAVE_STDARG_H)
-int SockPrintf(int sock, char *format, ...) ;
+int SockPrintf(int sock, const char *format, ...) ;
#else
int SockPrintf();
#endif