src/server/safs/objecttype.c

changeset 61
c858850f3d3a
parent 44
3da1f7b6847f
child 77
f1cff81e425a
--- a/src/server/safs/objecttype.c	Mon May 06 14:54:40 2013 +0200
+++ b/src/server/safs/objecttype.c	Thu May 09 13:19:51 2013 +0200
@@ -60,7 +60,7 @@
 
         /* get the mime type for the ext from the server configuration */
         ServerConfiguration *config = session_get_config(sn);
-        char *type = ucx_map_sstr_get(config->mimetypes, ext);
+        char *type = ucx_map_sstr_get(config->mimetypes->map, ext);
         
         if(!type) {
             return REQ_NOACTION;

mercurial