| 866 | } |
| 867 | |
| 868 | static int imap_handler(request_rec *r) |
| 869 | { |
| 870 | /* Optimization: skip the allocation of large local variables on the |
| 871 | * stack (in imap_handler_internal()) on requests that aren't using |
| 872 | * imagemaps |
| 873 | */ |
| 874 | if (r->method_number != M_GET || (strcmp(r->handler,IMAP_MAGIC_TYPE) |
| 875 | && strcmp(r->handler, "imap-file"))) { |
| 876 | return DECLINED; |
| 877 | } |
| 878 | else { |
| 879 | return imap_handler_internal(r); |
| 880 | } |
| 881 | } |
| 882 | |
| 883 | static void register_hooks(apr_pool_t *p) |
| 884 | { |
nothing calls this directly
no test coverage detected