Ticket #47481: patch-src-client.c.diff

File patch-src-client.c.diff, 750 bytes (added by Schamschula (Marius Schamschula), 9 years ago)
  • src/client.c

    old new  
    167167    if(!err)
    168168        client_try(c);
    169169    rst=err==1 && c->opt->option.reset;
    170 #ifdef __GNUC__
    171 #pragma GCC diagnostic push
    172 #pragma GCC diagnostic ignored "-Wformat"
    173 #pragma GCC diagnostic ignored "-Wformat-extra-args"
    174 #endif /* __GNUC__ */
    175170    s_log(LOG_NOTICE,
    176171        "Connection %s: %llu byte(s) sent to SSL, %llu byte(s) sent to socket",
    177172        rst ? "reset" : "closed",
    178173        (unsigned long long)c->ssl_bytes, (unsigned long long)c->sock_bytes);
    179 #ifdef __GNUC__
    180 #pragma GCC diagnostic pop
    181 #endif /* __GNUC__ */
    182174
    183175        /* cleanup temporary (e.g. IDENT) socket */
    184176    if(c->fd!=INVALID_SOCKET)