version 1.28, 2007/05/25 21:27:16 |
version 1.29, 2007/09/10 14:29:53 |
|
|
msgCount = 0; |
msgCount = 0; |
} else { |
} else { |
/* Seek into the file to get to the new messages */ |
/* Seek into the file to get to the new messages */ |
(void)fseeko(ibuf, offset, 0); |
(void)fseeko(ibuf, offset, SEEK_SET); |
/* |
/* |
* We need to make "offset" a pointer to the end of |
* We need to make "offset" a pointer to the end of |
* the temp file that has the copy of the mail file. |
* the temp file that has the copy of the mail file. |
|
|
{ |
{ |
|
|
fflush(otf); |
fflush(otf); |
if (fseek(itf, (long)positionof(mp->m_block, mp->m_offset), 0) < 0) |
if (fseek(itf, (long)positionof(mp->m_block, mp->m_offset), SEEK_SET) |
|
< 0) |
err(1, "fseek"); |
err(1, "fseek"); |
return(itf); |
return(itf); |
} |
} |