fixes wrong output path in dav get

Sun, 17 Dec 2017 14:26:03 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 17 Dec 2017 14:26:03 +0100
changeset 350
5fc457fb2cb1
parent 349
0b4ecadaf3f9
child 351
11789a88d0b0

fixes wrong output path in dav get

dav/main.c file | annotate | diff | comparison | revisions
--- a/dav/main.c	Sun Dec 17 13:20:01 2017 +0100
+++ b/dav/main.c	Sun Dec 17 14:26:03 2017 +0100
@@ -828,7 +828,7 @@
 
 int get_resource(Repository *repo, GetResource *getres, CmdArgs *a, void *unused) {
     DavResource *res = getres->res;
-    char *out = res->path;
+    char *out = getres->path;
     
     if(res->iscollection) {
         printf("get: %s\n", res->path);

mercurial