dav/main.c

changeset 618
4b34d12cf211
parent 611
a7c48e0dca88
child 628
1f76d9624db8
equal deleted inserted replaced
617:1c995e93bf40 618:4b34d12cf211
1526 1526
1527 if(resource_set_finfo(fpath, res, finfo)) { 1527 if(resource_set_finfo(fpath, res, finfo)) {
1528 fprintf(stderr, "Cannot set finfo: %s.\n", strerror(errno)); 1528 fprintf(stderr, "Cannot set finfo: %s.\n", strerror(errno));
1529 } 1529 }
1530 if((finfo & FINFO_XATTR) == FINFO_XATTR) { 1530 if((finfo & FINFO_XATTR) == FINFO_XATTR) {
1531 XAttributes *xattr = file_get_attributes(fpath); 1531 XAttributes *xattr = file_get_attributes(fpath, NULL, NULL);
1532 if(xattr) { 1532 if(xattr) {
1533 resource_set_xattr(res, xattr); 1533 resource_set_xattr(res, xattr);
1534 } 1534 }
1535 } 1535 }
1536 1536

mercurial