summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 130d20f)
raw | patch | inline | side by side (parent: 130d20f)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 31 Mar 2008 08:46:42 +0000 (10:46 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Mon, 31 Mar 2008 09:09:24 +0000 (11:09 +0200) |
Up to now this error was silently ignored, letting the user believe that
everything went fine.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
everything went fine.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/plugin.c | patch | blob | history |
diff --git a/src/plugin.c b/src/plugin.c
index 23ea9017cce27aa71370c32b41d7496b0944c837..acf7620e9596221c5b55ca3207be3ab155e04e25 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
{
DIR *dh;
const char *dir;
- char filename[BUFSIZE];
+ char filename[BUFSIZE] = "";
char typename[BUFSIZE];
int typename_len;
int ret;
closedir (dh);
+ if (filename[0] == '\0')
+ fprintf (stderr, "Could not find plugin %s.\n", type);
+
return (ret);
}