From 320724188859d96b0a974d9e84bacd49a614f97d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 20 Jan 2011 21:43:54 +0100 Subject: remove plugin.h, move its only macro into into only user Signed-off-by: Denys Vlasenko --- src/daemon/MiddleWare.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/daemon/MiddleWare.cpp') diff --git a/src/daemon/MiddleWare.cpp b/src/daemon/MiddleWare.cpp index 4da4db19..9a01bf3d 100644 --- a/src/daemon/MiddleWare.cpp +++ b/src/daemon/MiddleWare.cpp @@ -19,7 +19,6 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "abrtlib.h" -#include "plugin.h" #include "Daemon.h" #include "Settings.h" #include "comm_layer_inner.h" @@ -786,7 +785,7 @@ void GetPluginsInfo(map_map_string_t &map_of_plugin_info) if (!is_regular_file(dent, PLUGINS_CONF_DIR)) continue; char *ext = strrchr(dent->d_name, '.'); - if (!ext || strcmp(ext + 1, PLUGINS_CONF_EXTENSION) != 0) + if (!ext || strcmp(ext + 1, "conf") != 0) continue; VERB3 log("Found %s", dent->d_name); *ext = '\0'; -- cgit