]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: Removed unused code.
authorTimo Sirainen <tss@iki.fi>
Thu, 4 Apr 2013 10:21:42 +0000 (13:21 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 4 Apr 2013 10:21:42 +0000 (13:21 +0300)
src/lib-http/http-client-peer.c

index ab806af5ec2eba9ec0e8d0d073c1ce5cb091a515..659ce56848f3a4bb1b1cd6a13eaa61e9fd4f0a53 100644 (file)
@@ -36,18 +36,6 @@ http_client_peer_debug(struct http_client_peer *peer,
        }
 }
 
-static inline void ATTR_FORMAT(2, 3)
-http_client_peer_error(struct http_client_peer *peer,
-       const char *format, ...)
-{
-       va_list args;
-       va_start(args, format); 
-       i_error("http-client: peer %s:%u: %s", 
-               net_ip2addr(&peer->addr.ip), peer->addr.port,
-               t_strdup_vprintf(format, args));
-       va_end(args);
-}
-
 /*
  * Peer address
  */