From: oes Date: Wed, 7 May 2003 12:39:48 +0000 (+0000) Subject: Fix typo: Default port for https URLs is 443, not 143. X-Git-Tag: v_3_0_3~110 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=1afbf142538b21bd2874aed6f9d1f56bb3a5f985;p=privoxy.git Fix typo: Default port for https URLs is 443, not 143. Thanks to Scott Tregear for spotting this one. --- diff --git a/urlmatch.c b/urlmatch.c index 0338131c..76e16485 100644 --- a/urlmatch.c +++ b/urlmatch.c @@ -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);