Mercurial > dovecot > core-2.2
changeset 1184:0dc579b99c9e HEAD
o_stream_seek() return value was checked wrong
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 17 Feb 2003 20:48:20 +0200 |
parents | cacfd1b16626 |
children | 66bf2aaf74dc |
files | src/lib-storage/index/mbox/mbox-expunge.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/mbox/mbox-expunge.c Mon Feb 17 18:40:15 2003 +0200 +++ b/src/lib-storage/index/mbox/mbox-expunge.c Mon Feb 17 20:48:20 2003 +0200 @@ -56,7 +56,7 @@ if (!expunges) { /* first expunged record, seek to position where we want to begin writing */ - if (!o_stream_seek(output, from_offset)) + if (o_stream_seek(output, from_offset) < 0) return FALSE; expunges = TRUE; }