dovecot-2.2: lib-http: Removed last traces of http_client_connec...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Apr 4 15:22:00 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/c1f1624a299c
changeset: 16155:c1f1624a299c
user: Timo Sirainen <tss at iki.fi>
date: Thu Apr 04 15:21:52 2013 +0300
description:
lib-http: Removed last traces of http_client_connection_error()
diffstat:
src/lib-http/http-client-connection.c | 18 +-----------------
1 files changed, 1 insertions(+), 17 deletions(-)
diffs (42 lines):
diff -r 970914436288 -r c1f1624a299c src/lib-http/http-client-connection.c
--- 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;
}
More information about the dovecot-cvs
mailing list