Fix error message.
This commit is contained in:
parent
f6d710bdee
commit
70ae216122
@ -924,8 +924,8 @@ next_file:
|
|||||||
if (fseek(lf->file, lf->backlog_offset, SEEK_SET)) {
|
if (fseek(lf->file, lf->backlog_offset, SEEK_SET)) {
|
||||||
log_reinit(lfg);
|
log_reinit(lfg);
|
||||||
free(buf);
|
free(buf);
|
||||||
return _log_wrap("Error reading in logfile",
|
return _log_wrap(destination,
|
||||||
destination);
|
"Error reading in logfile");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for(;;) {
|
for(;;) {
|
||||||
@ -977,8 +977,8 @@ next_file:
|
|||||||
if (!logdata->lastfile_seeked) {
|
if (!logdata->lastfile_seeked) {
|
||||||
if (fseek(lf->file, lf->backlog_offset, SEEK_SET)) {
|
if (fseek(lf->file, lf->backlog_offset, SEEK_SET)) {
|
||||||
log_reinit(lfg);
|
log_reinit(lfg);
|
||||||
return _log_wrap("Error reading in logfile",
|
return _log_wrap(destination,
|
||||||
destination);
|
"Error reading in logfile");
|
||||||
}
|
}
|
||||||
logdata->lastfile_seeked = 1;
|
logdata->lastfile_seeked = 1;
|
||||||
mylog(LOG_DEBUG, "last file seedked!");
|
mylog(LOG_DEBUG, "last file seedked!");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user