ossp-pkg/sa/sa.c 1.13 -> 1.14
--- sa.c 2001/10/08 13:37:08 1.13
+++ sa.c 2001/10/08 15:15:25 1.14
@@ -502,7 +502,7 @@
else if (strncmp(uri, "inet://", 7) == 0) {
/* parse URI */
cpHost = (char *)(uri+7);
- if ((cp = strchr(cpHost, ':')) == NULL)
+ if ((cp = strrchr(cpHost, ':')) == NULL)
return SA_ERR_ARG;
*cp++ = '\0';
cpPort = cp;
|
|