You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2007/09/17 03:53:24 UTC
svn commit: r576231 - /webservices/axis2/trunk/c/util/src/utils.c
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