Wed, 16 Mar 2016 14:39:59 +0100
fixed version output
dav/sync.c | file | annotate | diff | comparison | revisions | |
dav/version.h | file | annotate | diff | comparison | revisions |
--- a/dav/sync.c Wed Mar 16 14:32:55 2016 +0100 +++ b/dav/sync.c Wed Mar 16 14:39:59 2016 +0100 @@ -99,11 +99,7 @@ } else if(!strcmp(cmd, "list-directories")) { ret = list_syncdirs(); } else if(!strcasecmp(cmd, "version") || !strcasecmp(cmd, "-version") || !strcasecmp(cmd, "--version")) { -#ifdef DEBUG - fprintf(stderr, "dav-sync %s unstable\n", DAV_VERSION); -#else fprintf(stderr, "dav-sync %s\n", DAV_VERSION); -#endif } // TODO: cleanup sync config (don't forget to call regfree for regex)