aboutsummaryrefslogtreecommitdiffstats
path: root/community/davfs2/010-main_code_fix.patch
blob: d91336d2734f9baf2426333773d94d0f5fb70557 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/src/cache.c
+++ b/src/cache.c
@@ -58,7 +58,7 @@
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
-#include <sys/xattr.h>
+#include <linux/xattr.h>
 
 #include <ne_alloc.h>
 #include <ne_string.h>
--- a/src/webdav.c
+++ b/src/webdav.c
@@ -2033,7 +2033,7 @@ ssl_verify(void *userdata, int failures,
             len = getline(&s, &n, stdin);
             if (len < 0)
                 abort();
-            if (rpmatch(s) > 0)
+            if ((s[0]=='y' || s[0]=='Y') > 0)
                 ret = 0;
             free(s);
     }