Hi No index files is a supported configuration.
- Lauri
>From 0fc03385e7355182dde0e799fda511cfd82b5a82 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Tue, 29 May 2012 12:17:43 +0300 Subject: [PATCH] request: Add a check for no index files Signed-off-by: Lauri Kasanen <[email protected]> --- src/mk_request.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mk_request.c b/src/mk_request.c index 7cf79ae..23151f5 100644 --- a/src/mk_request.c +++ b/src/mk_request.c @@ -659,6 +659,7 @@ mk_pointer mk_request_index(char *pathfile, char *file_aux, const unsigned int f struct mk_list *head; mk_pointer_reset(&f); + if (!config->index_files) return f; mk_list_foreach(head, config->index_files) { entry = mk_list_entry(head, struct mk_string_line, _head); -- 1.7.2.1
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
