]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
fts-solr: Removed unnecessary code.
authorTimo Sirainen <tss@iki.fi>
Sun, 10 Mar 2013 18:52:10 +0000 (20:52 +0200)
committerTimo Sirainen <tss@iki.fi>
Sun, 10 Mar 2013 18:52:10 +0000 (20:52 +0200)
src/plugins/fts-solr/solr-connection.c

index 6ccbf24ac2427136930b1e08fd198f2be10b39ec..408d8be614fd07b17939b59bbfd4926de0d44888 100644 (file)
@@ -378,13 +378,6 @@ static void
 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;