OSSP CVS Repository

ossp - Check-in [1111]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1111
Date: 2001-Oct-08 17:15:25 (local)
2001-Oct-08 15:15:25 (UTC)
User:rse
Branch:
Comment: support IPv6 addresses
Tickets:
Inspections:
Files:
ossp-pkg/sa/sa.c      1.13 -> 1.14     1 inserted, 1 deleted

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