fixed bug am47194 (journal crash)

This commit is contained in:
David Anderson 2006-11-22 05:30:58 +00:00
parent a34c8daf34
commit d048996b50

View File

@ -1,4 +1,5 @@
#include <stdio.h>
#include <stdarg.h>
#if defined __linux__
#include <unistd.h>
#endif
@ -24,8 +25,8 @@ int Journal::Replay(VaultMap *pMap)
BinaryReader br(m_fp);
int8_t len8;
int16_t len16;
uint8_t len8;
uint16_t len16;
char *key = NULL;
char *val = NULL;
String sKey;