Skip to content
Snippets Groups Projects
Commit b8b0b61a authored by Richard Mudgett's avatar Richard Mudgett
Browse files

app_voicemail.c: Fix compile error when IMAP enabled.

Change-Id: I2703f15b4099b4210c68eccf293105d1975c1fc1
parent c33168c1
No related branches found
No related tags found
No related merge requests found
......@@ -2730,7 +2730,7 @@ static int imap_store_file(const char *dir, const char *mailboxuser, const char
}
if (fread(buf, 1, len, p) != len) {
if (ferror(p)) {
ast_log(LOG_ERROR, "Error while reading mail file: %s\n");
ast_log(LOG_ERROR, "Error while reading mail file: %s\n", tmp);
return -1;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment