diff -r 9cec78f23cbf -r a0903d2d8e3e dav/main.c --- a/dav/main.c Wed May 13 12:00:54 2015 +0200 +++ b/dav/main.c Wed May 13 20:18:36 2015 +0200 @@ -54,7 +54,7 @@ #include void test() { DavQLStatement *stmt = dav_parse_statement(S( - "get *,count(*) as count from /uap/House of Cards with depth = infinity")); + "get - from '/path/with space' with depth = %d")); dav_debug_statement(stmt); dav_free_statement(stmt); } @@ -66,6 +66,7 @@ load_config(ctx); #ifdef DO_THE_TEST test(); + return 0; #endif memcpy(ctx->http_proxy, get_http_proxy(), sizeof(Proxy));