From 298daab365da87f08c35d135802e65a5663b7175 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Tue, 22 Nov 2011 18:57:09 +0100 Subject: [PATCH] don't loop indefinitly if a plugin directy doesn't exist --- document.c | 1 + 1 file changed, 1 insertion(+) diff --git a/document.c b/document.c index f96e1dd..de7f0ab 100644 --- a/document.c +++ b/document.c @@ -42,6 +42,7 @@ zathura_document_plugins_load(zathura_t* zathura) DIR* dir = opendir(plugindir); if (dir == NULL) { girara_error("could not open plugin directory: %s", plugindir); + girara_list_iterator_next(iter); continue; }