src/server/safs/objecttype.c

changeset 61
c858850f3d3a
parent 44
3da1f7b6847f
child 77
f1cff81e425a
equal deleted inserted replaced
60:feb2f1e115c6 61:c858850f3d3a
58 return REQ_NOACTION; 58 return REQ_NOACTION;
59 } 59 }
60 60
61 /* get the mime type for the ext from the server configuration */ 61 /* get the mime type for the ext from the server configuration */
62 ServerConfiguration *config = session_get_config(sn); 62 ServerConfiguration *config = session_get_config(sn);
63 char *type = ucx_map_sstr_get(config->mimetypes, ext); 63 char *type = ucx_map_sstr_get(config->mimetypes->map, ext);
64 64
65 if(!type) { 65 if(!type) {
66 return REQ_NOACTION; 66 return REQ_NOACTION;
67 } 67 }
68 68

mercurial