|
a/src/internfile/mh_mbox.cpp |
|
b/src/internfile/mh_mbox.cpp |
|
... |
|
... |
106 |
LOGINFO(("MboxCache::get_offset:badudi fn %s udi [%s], fudi [%s]\n",
|
106 |
LOGINFO(("MboxCache::get_offset:badudi fn %s udi [%s], fudi [%s]\n",
|
107 |
fn.c_str(), udi.c_str(), fudi.c_str()));
|
107 |
fn.c_str(), udi.c_str(), fudi.c_str()));
|
108 |
return -1;
|
108 |
return -1;
|
109 |
}
|
109 |
}
|
110 |
if (fseeko(fp, cacheoffset(msgnum), SEEK_SET) != 0) {
|
110 |
if (fseeko(fp, cacheoffset(msgnum), SEEK_SET) != 0) {
|
111 |
LOGDEB0(("MboxCache::get_offsets: seek %ld errno %d\n",
|
111 |
LOGDEB0(("MboxCache::get_offsets: seek %lld errno %d\n",
|
112 |
(long)cacheoffset(msgnum), errno));
|
112 |
cacheoffset(msgnum), errno));
|
113 |
return -1;
|
113 |
return -1;
|
114 |
}
|
114 |
}
|
115 |
mbhoff_type offset = -1;
|
115 |
mbhoff_type offset = -1;
|
116 |
int ret;
|
116 |
int ret;
|
117 |
if ((ret = fread(&offset, 1, sizeof(mbhoff_type), fp))
|
117 |
if ((ret = fread(&offset, 1, sizeof(mbhoff_type), fp))
|