diff -r 493959648de6 -r 5a3d27b8e6b0 libidav/resource.c --- a/libidav/resource.c Wed Nov 27 18:53:11 2024 +0100 +++ b/libidav/resource.c Thu Nov 28 18:03:12 2024 +0100 @@ -1043,7 +1043,7 @@ // store properties int r = 0; sn->error = DAV_OK; - if(data->set || data->remove) { + if(data->set || data->remove > 0) { CxBuffer *request = create_proppatch_request(data); CxBuffer *response = cxBufferCreate(NULL, 1024, cxDefaultAllocator, CX_BUFFER_FREE_CONTENTS|CX_BUFFER_AUTO_EXTEND); //printf("request:\n%.*s\n\n", request->pos, request->space);