summaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-01-27 15:59:28 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-01-27 15:59:28 +0100
commit5c71e00f814f679bd6ea652eda8552f746b5f725 (patch)
tree4ff1034b3133ea204081badb72df7da4fa540fef /src/daemon
parentb26f7420aca444c38677bf6275376c71ccfc39df (diff)
downloadabrt-5c71e00f814f679bd6ea652eda8552f746b5f725.tar.gz
abrt-5c71e00f814f679bd6ea652eda8552f746b5f725.tar.xz
abrt-5c71e00f814f679bd6ea652eda8552f746b5f725.zip
preparatory changes for abrt-cli local processing change
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/MiddleWare.cpp4
-rw-r--r--src/daemon/MiddleWare.h8
2 files changed, 5 insertions, 7 deletions
diff --git a/src/daemon/MiddleWare.cpp b/src/daemon/MiddleWare.cpp
index 2f15d50d..8b8795a2 100644
--- a/src/daemon/MiddleWare.cpp
+++ b/src/daemon/MiddleWare.cpp
@@ -781,11 +781,11 @@ void GetPluginsInfo(map_map_string_t &map_of_plugin_info)
struct dirent *dent;
while ((dent = readdir(dir)) != NULL)
{
- if (!is_regular_file(dent, PLUGINS_CONF_DIR))
- continue;
char *ext = strrchr(dent->d_name, '.');
if (!ext || strcmp(ext + 1, "conf") != 0)
continue;
+ if (!is_regular_file(dent, PLUGINS_CONF_DIR))
+ continue;
VERB3 log("Found %s", dent->d_name);
*ext = '\0';
diff --git a/src/daemon/MiddleWare.h b/src/daemon/MiddleWare.h
index 2cbf4eb5..fde29978 100644
--- a/src/daemon/MiddleWare.h
+++ b/src/daemon/MiddleWare.h
@@ -52,14 +52,12 @@ typedef enum {
* ...).
* @param crash_data
* A crash report.
- * @param reporters
- * List of allowed reporters. Which reporters will be used depends
- * on the analyzer of the crash_data. Reporters missing from this list
- * will not be used.
+ * @param events
+ * List of events to run.
* @param caller_uid
* An user uid.
* @return
- * A report status, which reporters ends successfuly with messages.
+ * A report status: which events finished successfully, with messages.
*/
report_status_t Report(crash_data_t *crash_data,
const vector_string_t& events,