diff -r 1c81083a3e46 -r b855f76e965b dav/config.c --- a/dav/config.c Mon Sep 02 10:50:29 2013 +0200 +++ b/dav/config.c Tue Sep 03 12:08:35 2013 +0200 @@ -272,11 +272,11 @@ return k; } -Repository* get_repository(char *name) { - if(!name) { +Repository* get_repository(sstr_t name) { + if(!name.ptr) { return NULL; } - return ucx_map_cstr_get(repos, name); + return ucx_map_sstr_get(repos, name); } Key* get_key(char *name) {