libidav/davqlexec.c

changeset 475
52e4171d42ce
parent 387
92f8a2a243fc
child 478
baa63fef5c5c
equal deleted inserted replaced
474:017a4f09e6fa 475:52e4171d42ce
278 ucx_map_free(properties); 278 ucx_map_free(properties);
279 *isallprop = 1; 279 *isallprop = 1;
280 return create_allprop_propfind_request(); 280 return create_allprop_propfind_request();
281 } else if(!sstrcmp(field->name, S("-"))) { 281 } else if(!sstrcmp(field->name, S("-"))) {
282 ucx_map_free(properties); 282 ucx_map_free(properties);
283 return create_propfind_request(sn, NULL); 283 return create_propfind_request(sn, NULL, "propfind", 0);
284 } else { 284 } else {
285 if(fl_add_properties(sn, mp, properties, field->expr)) { 285 if(fl_add_properties(sn, mp, properties, field->expr)) {
286 // TODO: set error 286 // TODO: set error
287 ucx_map_free(properties); 287 ucx_map_free(properties);
288 return NULL; 288 return NULL;
296 UcxList *list = NULL; 296 UcxList *list = NULL;
297 UCX_MAP_FOREACH(key, value, i) { 297 UCX_MAP_FOREACH(key, value, i) {
298 list = ucx_list_append(list, value); 298 list = ucx_list_append(list, value);
299 } 299 }
300 300
301 UcxBuffer *reqbuf = create_propfind_request(sn, list); 301 UcxBuffer *reqbuf = create_propfind_request(sn, list, "propfind", 0);
302 ucx_list_free(list); 302 ucx_list_free(list);
303 ucx_map_free(properties); 303 ucx_map_free(properties);
304 return reqbuf; 304 return reqbuf;
305 } 305 }
306 306

mercurial