comparison src/readpst.c @ 120:6395ced2b8b2

disable building pst2dii on cygwin consistent ordering of our include files all system includes protected by ifdef HAVE_ from autoconf
author Carl Byington <carl@five-ten-sg.com>
date Sun, 01 Feb 2009 11:24:22 -0800
parents 0f1492b7fe8b
children 8399ef94c11b
comparison
equal deleted inserted replaced
119:f50f4321aa2d 120:6395ced2b8b2
3 * Part of the LibPST project 3 * Part of the LibPST project
4 * Written by David Smith 4 * Written by David Smith
5 * dave.s@earthcorp.com 5 * dave.s@earthcorp.com
6 */ 6 */
7 #include "define.h" 7 #include "define.h"
8 #include "common.h"
9 #include "libpst.h"
10 #include "timeconv.h"
11 #include "lzfu.h"
8 #include "libstrfunc.h" 12 #include "libstrfunc.h"
9 #include "vbuf.h" 13 #include "vbuf.h"
10 #include "libpst.h"
11 #include "common.h"
12 #include "timeconv.h"
13 #include "lzfu.h"
14 14
15 #define OUTPUT_TEMPLATE "%s" 15 #define OUTPUT_TEMPLATE "%s"
16 #define OUTPUT_KMAIL_DIR_TEMPLATE ".%s.directory" 16 #define OUTPUT_KMAIL_DIR_TEMPLATE ".%s.directory"
17 #define KMAIL_INDEX ".%s.index" 17 #define KMAIL_INDEX ".%s.index"
18 #define SEP_MAIL_FILE_TEMPLATE "%i" /* "%09i" */ 18 #define SEP_MAIL_FILE_TEMPLATE "%i" /* "%09i" */
1078 if (rc == (size_t)-1) { 1078 if (rc == (size_t)-1) {
1079 free(newer->b); 1079 free(newer->b);
1080 DEBUG_EMAIL(("Failed to convert plain text utf-8 to %s\n", item->email->body_charset)); 1080 DEBUG_EMAIL(("Failed to convert plain text utf-8 to %s\n", item->email->body_charset));
1081 } 1081 }
1082 else { 1082 else {
1083 // unable to convert, maybe it is already in that character set
1083 free(item->email->body); 1084 free(item->email->body);
1084 item->email->body = newer->b; 1085 item->email->body = newer->b;
1085 } 1086 }
1086 free(newer); 1087 free(newer);
1087 } 1088 }