# HG changeset patch # User Sean Egan # Date 1037657860 0 # Node ID 0283b00f542418d2e3e3c3918d3ddc0eab153fea # Parent 2e89b30228328e63e321e6837c4f0f264a957f4d [gaim-migrate @ 4172] Thanks, Ethan. committer: Tailor Script diff -r 2e89b3022832 -r 0283b00f5424 plugins/history.c --- a/plugins/history.c Mon Nov 18 22:10:52 2002 +0000 +++ b/plugins/history.c Mon Nov 18 22:17:40 2002 +0000 @@ -32,7 +32,7 @@ return; } - fseek(fd, st.st_size > HISTORY_SIZE ? st.st_size - HISTORY_SIZE : st.st_size, SEEK_SET); + fseek(fd, st.st_size > HISTORY_SIZE ? st.st_size - HISTORY_SIZE : 0, SEEK_SET); size = fread(buf, 1, HISTORY_SIZE, fd); tmp = buf; tmp[size] = 0;