summary refs log tree commit diff stats
path: root/src/common/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/server.h')
-rw-r--r--src/common/server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/server.h b/src/common/server.h
index 08aeca56..90e9a9c1 100644
--- a/src/common/server.h
+++ b/src/common/server.h
@@ -25,7 +25,7 @@ extern GSList *serv_list;
 /* eventually need to keep the tcp_* functions isolated to server.c */
 int tcp_send_len (server *serv, char *buf, int len);
 int tcp_send (server *serv, char *buf);
-void tcp_sendf (server *serv, char *fmt, ...);
+void tcp_sendf (server *serv, const char *fmt, ...) G_GNUC_PRINTF (2, 3);
 int tcp_send_real (void *ssl, int sok, char *encoding, int using_irc, char *buf, int len);
 
 server *server_new (void);