~ubuntu-branches/ubuntu/hardy/prelude-manager/hardy

« back to all changes in this revision

Viewing changes to src/filter-plugins.c

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2007-03-22 18:09:27 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070322180927-tzvkkuk7yc5m0s9d
Tags: 0.9.7.2-2
* Fix permissions on configuration file (make sure it is not world-readable)
* Update my email address

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include <string.h>
29
29
#include <unistd.h>
30
30
#include <dirent.h>
31
 
#include <dlfcn.h>
32
31
#include <errno.h>
33
 
#include <sys/time.h>
34
32
#include <assert.h>
35
33
 
36
34
#include <libprelude/prelude.h>
153
151
                if ( entry->filtered_plugin != plugin )
154
152
                        continue;
155
153
                
 
154
                ret = filter_plugins_run_by_plugin(msg, entry->filter);
 
155
                if ( ret < 0 )
 
156
                        return ret;
 
157
                        
156
158
                ret = prelude_plugin_run(entry->filter, manager_filter_plugin_t, run, msg, entry->data);
157
159
                if ( ret < 0 )
158
160
                        return -1;