dav/sync.c

changeset 274
5577d3eae04c
parent 272
b321a3be0a38
child 288
cd3846cc8b25
equal deleted inserted replaced
273:c743721d566f 274:5577d3eae04c
1581 free(path); 1581 free(path);
1582 continue; 1582 continue;
1583 } 1583 }
1584 if(S_ISDIR(s.st_mode)) { 1584 if(S_ISDIR(s.st_mode)) {
1585 if(rmdir(path)) { 1585 if(rmdir(path)) {
1586 perror("unlink"); 1586 perror("rmdir");
1587 } 1587 }
1588 } else { 1588 } else {
1589 if(unlink(path)) { 1589 if(unlink(path)) {
1590 perror("unlink"); 1590 perror("unlink");
1591 } 1591 }

mercurial