You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by se...@apache.org on 2008/03/05 19:43:54 UTC
svn commit: r633968 - /webservices/axis2/trunk/c/util/src/uri.c
Author: senaka
Date: Wed Mar 5 10:43:52 2008
New Revision: 633968
URL: http://svn.apache.org/viewvc?rev=633968&view=rev
Log:
Fixing yet another bug
Modified:
webservices/axis2/trunk/c/util/src/uri.c
Modified: webservices/axis2/trunk/c/util/src/uri.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/uri.c?rev=633968&r1=633967&r2=633968&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/uri.c (original)
+++ webservices/axis2/trunk/c/util/src/uri.c Wed Mar 5 10:43:52 2008
@@ -469,13 +469,13 @@
s = NULL; /* no port */
}
}
- else if ((*hostinfo >= '0' && *hostinfo <= '9') ||
+ else if (!*hostinfo || (*hostinfo >= '0' && *hostinfo <= '9') ||
(*hostinfo >= 'a' && *hostinfo <= 'z') ||
(*hostinfo >= 'A' && *hostinfo <= 'Z'))
{
s = axutil_memchr(hostinfo, ':', uri_str - hostinfo);
}
- else if (*hostinfo)
+ else
{
if (uri)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org