ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From din...@apache.org
Subject svn commit: r584567 - /webservices/axis2/branches/c/29092007/src/core/transport/http/server/simple_axis2_server/http_server_main.c
Date Sun, 14 Oct 2007 17:14:36 GMT
Author: dinesh
Date: Sun Oct 14 10:14:35 2007
New Revision: 584567

URL: http://svn.apache.org/viewvc?rev=584567&view=rev
Log:
fixed, server value not checked while in shutdown process

Modified:
    webservices/axis2/branches/c/29092007/src/core/transport/http/server/simple_axis2_server/http_server_main.c

Modified: webservices/axis2/branches/c/29092007/src/core/transport/http/server/simple_axis2_server/http_server_main.c
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/c/29092007/src/core/transport/http/server/simple_axis2_server/http_server_main.c?rev=584567&r1=584566&r2=584567&view=diff
==============================================================================
--- webservices/axis2/branches/c/29092007/src/core/transport/http/server/simple_axis2_server/http_server_main.c
(original)
+++ webservices/axis2/branches/c/29092007/src/core/transport/http/server/simple_axis2_server/http_server_main.c
Sun Oct 14 10:14:35 2007
@@ -237,7 +237,11 @@
         {
             AXIS2_LOG_INFO(system_env->log, "Received signal SIGINT. Server "
                            "shutting down");
-            axis2_http_server_stop(server, system_env);
+            if (server)
+            {
+                axis2_http_server_stop(server, system_env);
+            }
+
             AXIS2_LOG_INFO(system_env->log, "Shutdown complete ...");
             system_exit(system_env, 0);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message