OSSP CVS Repository

ossp - Difference in ossp-pkg/sa/sa.c versions 1.13 and 1.14
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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;

CVSTrac 2.0.1