diff -r 1a9e6a5c1e79 -r ba54fc8abdf1 dav/sync.c --- a/dav/sync.c Tue Apr 09 18:19:52 2019 +0200 +++ b/dav/sync.c Tue Apr 09 18:23:23 2019 +0200 @@ -1280,6 +1280,8 @@ ucx_stream_copy(in, out, (read_func)fread, (write_func)fwrite); fclose(in); fclose(out); + + return 0; } typedef int (*renamefunc)(const char*,const char*);