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 |