axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From din...@apache.org
Subject svn commit: r576716 - /webservices/axis2/trunk/c/src/core/transport/http/common/simple_http_svr_conn.c
Date Tue, 18 Sep 2007 05:56:13 GMT
Author: dinesh
Date: Mon Sep 17 22:56:12 2007
New Revision: 576716

URL: http://svn.apache.org/viewvc?rev=576716&view=rev
Log:
fixed: a warning , str_line always true

Modified:
    webservices/axis2/trunk/c/src/core/transport/http/common/simple_http_svr_conn.c

Modified: webservices/axis2/trunk/c/src/core/transport/http/common/simple_http_svr_conn.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/common/simple_http_svr_conn.c?rev=576716&r1=576715&r2=576716&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/common/simple_http_svr_conn.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/common/simple_http_svr_conn.c Mon Sep
17 22:56:12 2007
@@ -21,6 +21,7 @@
 #include <axutil_network_handler.h>
 #include <axis2_http_chunked_stream.h>
 #include <platforms/axutil_platform_auto_sense.h>
+#include <string.h>
 
 struct axis2_simple_http_svr_conn
 {
@@ -197,7 +198,7 @@
         }
     }
     
-    if (str_line)
+    if (strlen(str_line))
     {
         if (0 != axutil_strncasecmp(str_line, "GET", 3) && 0 !=
                 axutil_strncasecmp(str_line, "POST", 4))



---------------------------------------------------------------------
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