dav/db.c

changeset 567
b0ce8b27978b
parent 560
a816e805e5db
child 572
1eac93fcef77
equal deleted inserted replaced
566:9a88920b15d8 567:b0ce8b27978b
670 free(res->tags_hash); 670 free(res->tags_hash);
671 } 671 }
672 free(res); 672 free(res);
673 } 673 }
674 674
675 char* nullstrdup(const char *s) { 675 static char* nullstrdup(const char *s) {
676 return s ? strdup(s) : NULL; 676 return s ? strdup(s) : NULL;
677 } 677 }
678 678
679 LocalResource* local_resource_copy(LocalResource *src, const char *new_path) { 679 LocalResource* local_resource_copy(LocalResource *src, const char *new_path) {
680 LocalResource *newres = calloc(1, sizeof(LocalResource)); 680 LocalResource *newres = calloc(1, sizeof(LocalResource));

mercurial