]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove useless code.
authorJean-Frederic Clere <jfclere@apache.org>
Sat, 29 Jul 2006 00:40:32 +0000 (00:40 +0000)
committerJean-Frederic Clere <jfclere@apache.org>
Sat, 29 Jul 2006 00:40:32 +0000 (00:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpd-proxy-scoreboard@426727 13f79535-47bb-0310-9956-ffa450edef68

support/proxymonitor.c

index 51aaee833ad24639e481013a7ce0b2113908768c..9a3242ea27be91c3dc9ee9c9ee4d0268f047eceb 100644 (file)
@@ -286,11 +286,7 @@ int main(int argc, const char * const argv[])
         if (repeat>0)
             repeat--;
         apr_pool_destroy(instance);
-        /* If something goes really wrong we should clean all */
-        if (0) {
-            apr_pool_destroy(instance_socket);
-            instance_socket = NULL;
-        }
+        /* If something goes really wrong we should clean all, via apr_pool_destroy(instance_socket) */
     }
     if (interrupted) {
         apr_file_printf(errfile, "Monitoring aborted due to user "