Fix typo: Default port for https URLs is 443, not 143.
authoroes <oes@users.sourceforge.net>
Wed, 7 May 2003 12:39:48 +0000 (12:39 +0000)
committeroes <oes@users.sourceforge.net>
Wed, 7 May 2003 12:39:48 +0000 (12:39 +0000)
Thanks to Scott Tregear for spotting this one.

urlmatch.c

index 0338131..76e1648 100644 (file)
@@ -1,4 +1,4 @@
-const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.10.2.4 2003/02/28 12:57:44 oes Exp $";
+const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.10.2.5 2003/02/28 13:09:29 oes Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/Attic/urlmatch.c,v $
@@ -33,6 +33,9 @@ const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.10.2.4 2003/02/28 12:57:44 oes
  *
  * Revisions   :
  *    $Log: urlmatch.c,v $
+ *    Revision 1.10.2.5  2003/02/28 13:09:29  oes
+ *    Fixed a rare double free condition as per Bug #694713
+ *
  *    Revision 1.10.2.4  2003/02/28 12:57:44  oes
  *    Moved freeing of http request structure to its owner
  *    as per Dan Price's observations in Bug #694713
@@ -310,7 +313,7 @@ jb_err parse_http_url(const char * url,
       else
       {
          /* No port specified. */
-         http->port = (http->ssl ? 143 : 80);
+         http->port = (http->ssl ? 443 : 80);
       }
 
       http->host = strdup(host);