added missing repo authmethods initialization

Sun, 31 Jan 2016 16:47:18 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 31 Jan 2016 16:47:18 +0100
changeset 187
38295f2fa231
parent 186
05d11fbcaeb3
child 188
753c8fcde12f

added missing repo authmethods initialization

dav/main.c file | annotate | diff | comparison | revisions
--- a/dav/main.c	Mon Jan 25 11:39:46 2016 +0100
+++ b/dav/main.c	Sun Jan 31 16:47:18 2016 +0100
@@ -243,6 +243,7 @@
         repo = calloc(1, sizeof(Repository));
         repo->name = strdup("");
         repo->decrypt_content = true;
+        repo->authmethods = CURLAUTH_BASIC;
         if(url[ulen-1] == '/') {
             repo->url = strdup(url);
             *path = strdup("/");

mercurial