fix missiong return in versioning_end()

Mon, 04 Feb 2019 14:11:57 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 04 Feb 2019 14:11:57 +0100
changeset 504
bf3695fee719
parent 503
f84e64afee61
child 505
481802342fdf

fix missiong return in versioning_end()

dav/sync.c file | annotate | diff | comparison | revisions
--- a/dav/sync.c	Fri Jan 25 17:01:59 2019 +0100
+++ b/dav/sync.c	Mon Feb 04 14:11:57 2019 +0100
@@ -2226,6 +2226,8 @@
 int versioning_end(SyncDirectory *dir, DavResource *res) {
     if(dir->versioning->type == VERSIONING_DELTAV) {
         return dav_checkin(res);
+    } else {
+        return 0;
     }
 }
 

mercurial