Mercurial > libpst
diff src/libpst.c @ 129:fc11b1d1ad34
fix initial from header in mbox format.
start moving to PST_LE_GET* rather than LE*_CPU macros so we can eventually remove the pragma packing.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 05 Feb 2009 12:09:04 -0800 |
parents | 7f747c8c9d02 |
children | e35fd42bac05 |
line wrap: on
line diff
--- a/src/libpst.c Thu Feb 05 09:22:22 2009 -0800 +++ b/src/libpst.c Thu Feb 05 12:09:04 2009 -0800 @@ -5,12 +5,6 @@ * dave.s@earthcorp.com */ -#include "common.h" -#include "libpst.h" -#include "timeconv.h" -#include "libstrfunc.h" -#include "vbuf.h" - #include "define.h" #define ASSERT(x) { if(!(x)) raise( SIGSEGV ); } @@ -565,9 +559,9 @@ return 0; } - xattrib.extended=PST_LE_GET_UINT32(buffer+bptr), bptr += 4; - xattrib.type=PST_LE_GET_UINT16(buffer+bptr), bptr += 2; - xattrib.map=PST_LE_GET_UINT16(buffer+bptr), bptr += 2; + xattrib.extended= PST_LE_GET_UINT32(buffer+bptr), bptr += 4; + xattrib.type = PST_LE_GET_UINT16(buffer+bptr), bptr += 2; + xattrib.map = PST_LE_GET_UINT16(buffer+bptr), bptr += 2; while (xattrib.type != 0 && bptr < bsize) { ptr = (pst_x_attrib_ll*) xmalloc(sizeof(*ptr));