Compiling is a good thing.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2008-12-05 13:55:33 +00:00
parent 3a661e91d6
commit 29eeedeb5e

View File

@@ -1421,7 +1421,7 @@ static int imap_store_file(char *dir, char *mailboxuser, char *mailboxcontext, i
}
if (fread(buf, len, 1, p) < len) {
if (ferror(p)) {
ast_log(LOG_ERROR, 'Short read while reading in mail file.\n");
ast_log(LOG_ERROR, "Short read while reading in mail file.\n");
return -1;
}
}