dav/sync.c

changeset 254
d7c4ba50b7d8
parent 252
6b8e287269fc
child 256
54433cb371df
equal deleted inserted replaced
253:1d2be1b31e70 254:d7c4ba50b7d8
53 #include "libidav/session.h" 53 #include "libidav/session.h"
54 54
55 static DavContext *ctx; 55 static DavContext *ctx;
56 56
57 static void xmlerrorfnc(void * c, const char * msg, ... ) { 57 static void xmlerrorfnc(void * c, const char * msg, ... ) {
58 // nothing 58 va_list ap;
59 va_start(ap, msg);
60 vfprintf(stderr, msg, ap);
61 va_end(ap);
59 } 62 }
60 63
61 int main(int argc, char **argv) { 64 int main(int argc, char **argv) {
62 if(argc < 2) { 65 if(argc < 2) {
63 fprintf(stderr, "Missing command\n"); 66 fprintf(stderr, "Missing command\n");

mercurial