Apply the same defaults to https as to http.

Submitted by:	Mike Tancsa <mike@sentex.net>
MFC after:	1 week
This commit is contained in:
des 2008-12-11 06:54:36 +00:00
parent e6342fe8be
commit a5ecf5f20c

View File

@ -1,5 +1,5 @@
/*-
* Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -375,7 +375,8 @@ fetch(char *URL, const char *path)
}
/* HTTP specific flags */
if (strcmp(url->scheme, SCHEME_HTTP) == 0) {
if (strcmp(url->scheme, SCHEME_HTTP) == 0 ||
strcmp(url->scheme, SCHEME_HTTPS) == 0) {
if (d_flag)
strcat(flags, "d");
if (A_flag)