]> sjero.net Git - wget/blobdiff - src/url.h
[svn] Skip `:port' in the host header if it is the DEFAULT_HTTPS_PORT when
[wget] / src / url.h
index bfe78426a688791ff1e5d049719fe824f601f001..e53cf2d764d2a026d3095d529c7b04b79c685262 100644 (file)
--- a/src/url.h
+++ b/src/url.h
@@ -20,6 +20,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #ifndef URL_H
 #define URL_H
 
+/* Default port definitions */
+#define DEFAULT_HTTP_PORT 80
+#define DEFAULT_FTP_PORT 21
+#define DEFAULT_HTTPS_PORT 443
+
+
 /* If the string contains unsafe characters, duplicate it with
    encode_string, otherwise just copy it with strdup.  */
 #define CLEANDUP(x) (contains_unsafe (x) ? encode_string (x) : xstrdup (x))