aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index 7335e6f..7f31a48 100644
--- a/main.go
+++ b/main.go
@@ -19,8 +19,8 @@ var debug = flag.Bool("d", false, "enable debug output")
var dryRun = flag.Bool("dry-run", false, "do everything short of uploading and writing the cache")
var buildCache = flag.Bool("build-cache", false, "only (re)build the cache; useful after migration or when the cache is lost or corrupted")
-func processFeed(feed *feed.Feed, cfg *config.Config, client *imap.Client, dryRun bool) {
- mails, err := feed.ToMails(cfg)
+func processFeed(feed *feed.Feed, client *imap.Client, dryRun bool) {
+ mails, err := feed.ToMails()
if err != nil {
log.Errorf("Processing items of feed %s: %s", feed.Name, err)
return
@@ -103,7 +103,7 @@ func run() error {
if !*buildCache {
state.ForeachGo(func(f *feed.Feed) {
- processFeed(f, cfg, c, *dryRun)
+ processFeed(f, c, *dryRun)
})
}
e063b&follow=1'>First draft of the new plugin windowRené 'Necoro' Neumann1-8/+172 2008-06-30Added stuff to plugin.pyRené 'Necoro' Neumann1-2/+24 2008-06-25Now load 22 versions when running the correct portageRené 'Necoro' Neumann4-8/+18 2008-06-25Added Package_22 and System_22René 'Necoro' Neumann4-5/+63