diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-02-22 14:01:04 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-02-22 14:01:04 +0200 |
commit | 97d84293615048b936d35250c89b21259acdb18f (patch) | |
tree | 51559cbc33b7953773061f28aa31c3816f39de1f /src/process.c | |
parent | d1ee123b443c2de4fb6e1622068611ab631a1f27 (diff) | |
download | wydawca-97d84293615048b936d35250c89b21259acdb18f.tar.gz wydawca-97d84293615048b936d35250c89b21259acdb18f.tar.bz2 |
Allow to select spools from the command line
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index eef7158..57a12e7 100644 --- a/src/process.c +++ b/src/process.c @@ -152,7 +152,7 @@ scan_spool (struct spool *spool) continue; } - if (!match_uid (st.st_uid)) + if (!match_uid_p (st.st_uid)) { if (debug_level) logmsg (LOG_DEBUG, "ignoring file: %s/%s", @@ -211,7 +211,8 @@ scan_directories () timer_start ("wydawca"); for (sp = spool_list; sp; sp = sp->next) - scan_spool (&sp->spool); + if (enabled_spool_p (&sp->spool)) + scan_spool (&sp->spool); for (sp = spool_list; sp; sp = sp->next) close_methods (&sp->spool); |