aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-10-24 20:12:06 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-10-24 20:12:06 +0000
commit2c3b3edc86c6999c3053c131972a3e29e7621bac (patch)
treeb3ba750361c8145e6c629b37179fb9f1750094b4 /apps/app_voicemail.c
parent009102fa0d7a8f95ef396d510a9a731f6f9f6f1e (diff)
Doxygen documentation update from oej (issue #5505)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_voicemail.c')
-rwxr-xr-xapps/app_voicemail.c8
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);