Merge "app_voicemail.c: Fix compile error when IMAP enabled."

This commit is contained in:
George Joseph 2017-06-15 09:06:23 -05:00 committed by Gerrit Code Review
commit 15c04db3bd
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}