We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b572b0 commit a73dc8fCopy full SHA for a73dc8f
libexec/spamd-setup/spamd-setup.c
@@ -1,4 +1,4 @@
1
-/* $OpenBSD: spamd-setup.c,v 1.49 2017/07/07 00:09:14 djm Exp $ */
+/* $OpenBSD: spamd-setup.c,v 1.50 2017/07/07 00:10:15 djm Exp $ */
2
3
/*
4
* Copyright (c) 2003 Bob Beck. All rights reserved.
@@ -315,7 +315,7 @@ open_file(char *method, char *file)
315
316
if ((method == NULL) || (strcmp(method, "file") == 0))
317
return (open(file, O_RDONLY));
318
- if ((strcmp(method, "http") == 0) ||
+ if (strcmp(method, "http") == 0 || strcmp(method, "https") == 0 ||
319
strcmp(method, "ftp") == 0) {
320
if (asprintf(&url, "%s://%s", method, file) == -1)
321
return (-1);
0 commit comments