--- a/libidav/davqlexec.c Sat May 30 21:43:36 2015 +0200 +++ b/libidav/davqlexec.c Tue Jun 02 10:07:20 2015 +0200 @@ -56,7 +56,7 @@ davqlerror_t error; sstr_t path = dav_format_string(sn->mp->allocator, st->path, ap, &error); - if(st->type == DAVQL_GET) { + if(st->type == DAVQL_SELECT) { dav_exec_get(sn, st, path.ptr, ap); } else { // TODO