[asterisk-commits] kpfleming: trunk r153618 - /trunk/res/res_musiconhold.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Nov 2 13:09:41 CST 2008


Author: kpfleming
Date: Sun Nov  2 13:09:41 2008
New Revision: 153618

URL: http://svn.digium.com/view/asterisk?view=rev&rev=153618
Log:
fix small bug introduced while cleaning up compiler warnings

Modified:
    trunk/res/res_musiconhold.c

Modified: trunk/res/res_musiconhold.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_musiconhold.c?view=diff&rev=153618&r1=153617&r2=153618
==============================================================================
--- trunk/res/res_musiconhold.c (original)
+++ trunk/res/res_musiconhold.c Sun Nov  2 13:09:41 2008
@@ -941,7 +941,7 @@
 		ast_log(LOG_WARNING, "getcwd() failed: %s\n", strerror(errno));
 		return -1;
 	}
-	if (chdir(path) < 0) {
+	if (chdir(dir_path) < 0) {
 		ast_log(LOG_WARNING, "chdir() failed: %s\n", strerror(errno));
 		return -1;
 	}




More information about the asterisk-commits mailing list