--- a/dav/main.c Fri Aug 16 12:41:30 2013 +0200 +++ b/dav/main.c Sat Aug 17 12:04:04 2013 +0200 @@ -42,6 +42,8 @@ #include "crypto.h" #include "main.h" +#include "davql.h" + static DavContext *ctx; void xmlerrorfnc(void * c, const char * msg, ... ) { @@ -202,7 +204,8 @@ //printf("baseurl: %s\n", sn->base_url); - DavResource *ls = dav_get(sn, path, "U:crypto-key"); + //DavResource *ls = dav_get(sn, path, "U:crypto-key"); + DavResource *ls = dav_query(sn, "get U:crypto-key from %s", path); if(!ls) { print_resource_error(sn, path); return -1;