src/strip.vala
authorAlan Knowles <alan@roojs.com>
Wed, 9 May 2018 09:59:42 +0000 (17:59 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 9 May 2018 09:59:42 +0000 (17:59 +0800)
src/strip.vala

index 5befbe2..b8995ca 100644 (file)
@@ -670,7 +670,7 @@ public class Strip : GLib.Object {
                        newest = oldest.add_months(-1 * StripApplication.opt_age_newest);
                        tspan = mailtime.difference(newest) / GLib.TimeSpan.DAY;
                        if (tspan > 0) {
-                               GLib.debug("skip file is %d days newer than %d months", (int)tspan, StripApplication.opt_age_oldest);
+                               GLib.debug("skip file is %d days newer than %d months", (int)tspan, StripApplication.opt_age_newest);
                                return;
                        }
                        
@@ -759,7 +759,7 @@ public class Strip : GLib.Object {
                newest = oldest.add_months(-1 * StripApplication.opt_age_newest);
                rtspan = mailtime.difference(newest) / GLib.TimeSpan.DAY;
                if (rtspan > 0) {
-                       GLib.debug("skip file is %d days newer than %d months", (int)rtspan, StripApplication.opt_age_oldest);
+                       GLib.debug("skip file is %d days newer than %d months", (int)rtspan, StripApplication.opt_age_newest);
                        return;
                }