Mercurial > dovecot > core-2.2
changeset 16155:c1f1624a299c
lib-http: Removed last traces of http_client_connection_error()
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 04 Apr 2013 15:21:52 +0300 |
parents | 970914436288 |
children | 4e9851e24c28 |
files | src/lib-http/http-client-connection.c |
diffstat | 1 files changed, 1 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-http/http-client-connection.c Thu Apr 04 15:21:00 2013 +0300 +++ b/src/lib-http/http-client-connection.c Thu Apr 04 15:21:52 2013 +0300 @@ -21,9 +21,6 @@ static inline void http_client_connection_debug(struct http_client_connection *conn, const char *format, ...) ATTR_FORMAT(2, 3); -static inline void -http_client_connection_error(struct http_client_connection *conn, - const char *format, ...) ATTR_FORMAT(2, 3); static inline void http_client_connection_debug(struct http_client_connection *conn, @@ -40,19 +37,6 @@ } } -static inline void -http_client_connection_error(struct http_client_connection *conn, - const char *format, ...) -{ - va_list args; - - va_start(args, format); - i_error("http-client: conn %s: %s", - http_client_connection_label(conn), t_strdup_vprintf(format, args)); - va_end(args); -} - - /* * Connection */ @@ -482,7 +466,7 @@ if (req == NULL) { /* server sent response without any requests in the wait list */ - http_client_connection_error(conn, "Got unexpected input from server"); + http_client_connection_debug(conn, "Got unexpected input from server"); http_client_connection_unref(&conn); return; }