libidav/config.c

changeset 805
bff983370565
parent 804
1e24f187c362
--- a/libidav/config.c	Mon Jan 29 11:20:34 2024 +0100
+++ b/libidav/config.c	Thu Feb 01 10:41:39 2024 +0100
@@ -579,6 +579,9 @@
         stype = "https";
     } else if(type == DAV_HTTP_PROXY) {
         stype = "http";
+    } else {
+        fprintf(stderr, "unknown proxy type\n");
+        return 1;
     }
     
     if(!proxy) {

mercurial