diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-07-18 11:25:41 +1000 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-07-18 07:09:07 -0400 |
commit | 93caf4c7b4e6b7d1f3424263df8ac97397f48d13 (patch) | |
tree | 9a554e04c11c654f1ef05f47b0a1a059c1e16742 /src/common/server.h | |
parent | 21c0e478690f36322fd4f40c031a4407c8485879 (diff) |
Use GNUC format attribute on print functions
Closes #1059
Diffstat (limited to 'src/common/server.h')
-rw-r--r-- | src/common/server.h | 2 |
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); |