Date: Thu, 11 Dec 2008 06:54:36 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r185912 - head/usr.bin/fetch Message-ID: <200812110654.mBB6saef056966@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Thu Dec 11 06:54:36 2008 New Revision: 185912 URL: http://svn.freebsd.org/changeset/base/185912 Log: Apply the same defaults to https as to http. Submitted by: Mike Tancsa <mike@sentex.net> MFC after: 1 week Modified: head/usr.bin/fetch/fetch.c Modified: head/usr.bin/fetch/fetch.c ============================================================================== --- head/usr.bin/fetch/fetch.c Thu Dec 11 06:53:53 2008 (r185911) +++ head/usr.bin/fetch/fetch.c Thu Dec 11 06:54:36 2008 (r185912) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812110654.mBB6saef056966>