axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r576231 - /webservices/axis2/trunk/c/util/src/utils.c
Date Mon, 17 Sep 2007 01:53:24 GMT
Author: samisa
Date: Sun Sep 16 18:53:22 2007
New Revision: 576231

URL: http://svn.apache.org/viewvc?rev=576231&view=rev
Log:
Fixed a monor bug

Modified:
    webservices/axis2/trunk/c/util/src/utils.c

Modified: webservices/axis2/trunk/c/util/src/utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/utils.c?rev=576231&r1=576230&r2=576231&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/utils.c (original)
+++ webservices/axis2/trunk/c/util/src/utils.c Sun Sep 16 18:53:22 2007
@@ -43,9 +43,9 @@
     {
         tmp = strstr(tmp, axis2_request_url_prefix);
         if (!tmp)
-    {
+        {
             break;
-    }
+        }
         else
         {
             service_str = tmp;
@@ -57,7 +57,8 @@
         service_str += axutil_strlen(axis2_request_url_prefix);
         if ('\0' != *service_str)
         {
-            service_str++; /*to remove the leading '/' */
+            if (*service_str == '/')
+                service_str++; /*to remove the leading '/' */
             tmp = strchr(service_str, '/');
             if (tmp)
             {



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