diff options
author | Russell Bryant <russell@russellbryant.com> | 2005-10-24 20:12:06 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2005-10-24 20:12:06 +0000 |
commit | 3453e3efa54bd013beb4c5bfcaf05df1f10d6798 (patch) | |
tree | b3ba750361c8145e6c629b37179fb9f1750094b4 /apps/app_voicemail.c | |
parent | c3226a226a57e71f608b1990bff4ee48c836bde0 (diff) |
Doxygen documentation update from oej (issue #5505)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rwxr-xr-x | apps/app_voicemail.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 7cd529ad3..56002c734 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -11,8 +11,6 @@ * 05-10-2005 : Support for Swedish and Norwegian added by Daniel Nylander, http://www.danielnylander.se/ * * 05-11-2005 : An option for maximum number of messsages per mailbox added by GDS Partners (www.gdspartners.com) - * Stojan Sljivic <stojan.sljivic@gdspartners.com> - * * 07-11-2005 : An issue with voicemail synchronization has been fixed by GDS Partners (www.gdspartners.com) * Stojan Sljivic <stojan.sljivic@gdspartners.com> * @@ -27,9 +25,9 @@ * at the top of the source tree. */ -/* +/*! \file * - * Voicemail System + * \brief Comedian Mail - Voicemail System * */ @@ -1400,7 +1398,7 @@ static int copy(char *infile, char *outfile) } if (len) { res = write(ofd, buf, len); - if (res != len) { + if (errno == ENOMEM || errno == ENOSPC || res != len) { ast_log(LOG_WARNING, "Write failed on %s (%d of %d): %s\n", outfile, res, len, strerror(errno)); close(ifd); close(ofd); |