[asterisk-commits] tilghman: branch 1.6.0 r114097 - in /branches/1.6.0: ./ apps/app_meetme.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Apr 13 09:38:36 CDT 2008


Author: tilghman
Date: Sun Apr 13 09:38:35 2008
New Revision: 114097

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114097
Log:
Merged revisions 114096 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r114096 | tilghman | 2008-04-13 09:35:43 -0500 (Sun, 13 Apr 2008) | 3 lines

Use ast_mkdir instead of mkdir
(Closes issue #12430)

........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/apps/app_meetme.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/apps/app_meetme.c?view=diff&rev=114097&r1=114096&r2=114097
==============================================================================
--- branches/1.6.0/apps/app_meetme.c (original)
+++ branches/1.6.0/apps/app_meetme.c Sun Apr 13 09:38:35 2008
@@ -1699,7 +1699,7 @@
 
 		snprintf(destdir, sizeof(destdir), "%s/meetme", ast_config_AST_SPOOL_DIR);
 
-		if (mkdir(destdir, 0777) && errno != EEXIST) {
+		if (ast_mkdir(destdir, 0777) != 0) {
 			ast_log(LOG_WARNING, "mkdir '%s' failed: %s\n", destdir, strerror(errno));
 			goto outrun;
 		}




More information about the asterisk-commits mailing list