dovecot-2.2: fts-solr: Removed unnecessary code.

dovecot at dovecot.org dovecot at dovecot.org
Sun Mar 10 20:52:19 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/30baa62d8e72
changeset: 16016:30baa62d8e72
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Mar 10 20:52:10 2013 +0200
description:
fts-solr: Removed unnecessary code.

diffstat:

 src/plugins/fts-solr/solr-connection.c |  7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diffs (17 lines):

diff -r 5606f1a6cbc6 -r 30baa62d8e72 src/plugins/fts-solr/solr-connection.c
--- a/src/plugins/fts-solr/solr-connection.c	Sun Mar 10 20:49:51 2013 +0200
+++ b/src/plugins/fts-solr/solr-connection.c	Sun Mar 10 20:52:10 2013 +0200
@@ -378,13 +378,6 @@
 solr_connection_select_response(const struct http_response *response,
 				struct solr_connection *conn)
 {
-	if (response == NULL) {
-		/* request failed */
-		i_error("fts_solr: HTTP GET request failed");
-		conn->request_status = -1;
-		return;
-	}
-
 	if (response->status / 100 != 2) {
 		i_error("fts_solr: Lookup failed: %s", response->reason);
 		conn->request_status = -1;


More information about the dovecot-cvs mailing list