this.active_name = name;
this.active_message_id = "";
- DateTime mailtime;
+ DateTime mailtime = new DateTime.local();
if (StripApplication.opt_scan_mailfort) {
this.created_dir = this.active_path.substring(this.base_dir.length + 1 );
this.created_date = this.created_dir.replace("/", "-");
var oldest = new DateTime.now_local();
oldest.add_months(-1 * StripApplication.opt_min_age);
- var tspan = mailtime.difference(oldest) / GLib.TimeSpan.DAY;
+ var rtspan = mailtime.difference(oldest) / GLib.TimeSpan.DAY;
- if (tspan < 0) {
- GLib.debug("skip file is %d days older than %d months", (int)tspan, StripApplication.opt_min_age);
+ if (rtspan < 0) {
+ GLib.debug("skip file is %d days older than %d months", (int)rtspan, StripApplication.opt_min_age);
return;
}