[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-expunge.c,1.25,1.26
cras at procontrol.fi
cras at procontrol.fi
Mon Feb 17 20:48:23 EET 2003
Update of /home/cvs/dovecot/src/lib-storage/index/mbox
In directory danu:/tmp/cvs-serv11474
Modified Files:
mbox-expunge.c
Log Message:
o_stream_seek() return value was checked wrong
Index: mbox-expunge.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-expunge.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- mbox-expunge.c 5 Jan 2003 13:09:53 -0000 1.25
+++ mbox-expunge.c 17 Feb 2003 18:48:20 -0000 1.26
@@ -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;
}
More information about the dovecot-cvs
mailing list