fixed version output

Wed, 16 Mar 2016 14:39:59 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 16 Mar 2016 14:39:59 +0100
changeset 214
7961460e0d9e
parent 213
cd870d5f8659
child 215
781aee172901

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)
--- a/dav/version.h	Wed Mar 16 14:32:55 2016 +0100
+++ b/dav/version.h	Wed Mar 16 14:39:59 2016 +0100
@@ -29,7 +29,7 @@
 #ifndef VERSION_H
 #define VERSION_H
 
-#define DAV_VERSION "0.9.6"
+#define DAV_VERSION "0.9.7 dev"
 
 #endif /* VERSION_H */
 

mercurial