diff options
Diffstat (limited to 'io/channel-websock.c')
-rw-r--r-- | io/channel-websock.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/io/channel-websock.c b/io/channel-websock.c index df2c3a9f99..87ebdebfc0 100644 --- a/io/channel-websock.c +++ b/io/channel-websock.c @@ -152,9 +152,10 @@ enum { QIO_CHANNEL_WEBSOCK_OPCODE_PONG = 0xA }; -static void qio_channel_websock_handshake_send_res(QIOChannelWebsock *ioc, - const char *resmsg, - ...) +static void GCC_FMT_ATTR(2, 3) +qio_channel_websock_handshake_send_res(QIOChannelWebsock *ioc, + const char *resmsg, + ...) { va_list vargs; char *response; |