[asterisk-commits] tilghman: trunk r114096 - /trunk/apps/app_meetme.c

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


Author: tilghman
Date: Sun Apr 13 09:35:43 2008
New Revision: 114096

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114096
Log:
Use ast_mkdir instead of mkdir
(Closes issue #12430)

Modified:
    trunk/apps/app_meetme.c

Modified: trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?view=diff&rev=114096&r1=114095&r2=114096
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Sun Apr 13 09:35:43 2008
@@ -1698,7 +1698,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