dav/config.c

changeset 38
b855f76e965b
parent 36
c8755c87ce7f
child 40
a95ee94b9204
--- 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) {

mercurial