diff src/pst2dii.cpp.in @ 64:2c6040b6e8f8

packaging for Fedora (#434727)
author Carl Byington <carl@five-ten-sg.com>
date Tue, 26 Feb 2008 17:06:33 -0800
parents cfd6175f9334
children 90aa7814ad1f
line wrap: on
line diff
--- a/src/pst2dii.cpp.in	Sat Feb 23 14:36:17 2008 -0800
+++ b/src/pst2dii.cpp.in	Tue Feb 26 17:06:33 2008 -0800
@@ -35,11 +35,10 @@
         stored_count = 0;
         email_count  = 0;
         skip_count   = 0;
-        type         - 0;
+        type         = 0;
     };
 };
 
-
 // global settings
 char*    convert = "@CONVERT@";     // fully qualified path of the convert program from image magick
 char*    prog_name = NULL;          // our arg0 name
@@ -483,17 +482,17 @@
     if (item->email->sent_date) {
         time_t t = fileTimeToUnixTime(item->email->sent_date, NULL);
         char c_time[C_TIME_SIZE];
-        strftime(c_time, C_TIME_SIZE, "%F +0000", gmtime(&t));
+        strftime(c_time, C_TIME_SIZE, "%F", gmtime(&t));
         write_simple("DATESENT", c_time);
-        strftime(c_time, C_TIME_SIZE, "%T +0000", gmtime(&t));
+        strftime(c_time, C_TIME_SIZE, "%T+0000", gmtime(&t));
         write_simple("TIMESENT", c_time);
     }
     if (item->email->arrival_date) {
         time_t t = fileTimeToUnixTime(item->email->arrival_date, NULL);
         char c_time[C_TIME_SIZE];
-        strftime(c_time, C_TIME_SIZE, "%F +0000", gmtime(&t));
+        strftime(c_time, C_TIME_SIZE, "%F", gmtime(&t));
         write_simple("DATERCVD", c_time);
-        strftime(c_time, C_TIME_SIZE, "%T +0000", gmtime(&t));
+        strftime(c_time, C_TIME_SIZE, "%T+0000", gmtime(&t));
         write_simple("TIMERCVD", c_time);
     }
     if (item->email->subject) {