chiark / gitweb /
journal-remote: remove unreachable code
authorLukas Nykryn <lnykryn@redhat.com>
Wed, 20 Aug 2014 12:51:27 +0000 (14:51 +0200)
committerLukas Nykryn <lnykryn@redhat.com>
Wed, 20 Aug 2014 12:51:46 +0000 (14:51 +0200)
src/journal-remote/journal-remote.c

index aa659d1..7f422bf 100644 (file)
@@ -579,7 +579,6 @@ static int request_handler(
                         log_error("MHD_get_connection_info failed: cannot get remote fd");
                         return mhd_respond(connection, MHD_HTTP_INTERNAL_SERVER_ERROR,
                                            "Cannot check remote address");
-                        return code;
                 }
 
                 fd = ci->connect_fd;