dav/main.c

changeset 539
8deb52292c99
parent 526
e3c0440bd599
child 540
d18f92483945
equal deleted inserted replaced
538:a7402e35ad87 539:8deb52292c99
1522 } 1522 }
1523 1523
1524 if(resource_set_finfo(fpath, res, finfo)) { 1524 if(resource_set_finfo(fpath, res, finfo)) {
1525 fprintf(stderr, "Cannot set finfo: %s.\n", strerror(errno)); 1525 fprintf(stderr, "Cannot set finfo: %s.\n", strerror(errno));
1526 } 1526 }
1527 if(finfo & FINFO_XATTR == FINFO_XATTR) { 1527 if((finfo & FINFO_XATTR) == FINFO_XATTR) {
1528 XAttributes *xattr = file_get_attributes(fpath); 1528 XAttributes *xattr = file_get_attributes(fpath);
1529 if(xattr) { 1529 if(xattr) {
1530 resource_set_xattr(res, xattr); 1530 resource_set_xattr(res, xattr);
1531 } 1531 }
1532 } 1532 }

mercurial