Two fixes for dtmail

This commit is contained in:
Ulrich Wilkens
2012-08-30 03:09:48 +02:00
committed by Jon Trulson
parent 3a28782409
commit 5c68d52ce4
3 changed files with 10 additions and 1 deletions

View File

@@ -493,6 +493,8 @@ RFCValue::toDate(void)
date.dtm_date = SafeMktime(&new_time);
#ifdef SVR4
date.dtm_tz_offset_secs = timezone;
#else
date.dtm_tz_offset_secs = new_time.tm_gmtoff;
#endif
}
else {