[Asterisk-cvs] asterisk/res res_musiconhold.c,1.42,1.43

anthm at lists.digium.com anthm at lists.digium.com
Sat Dec 25 19:38:05 CST 2004


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv15370/res

Modified Files:
	res_musiconhold.c 
Log Message:
misplaced chdir call on moh DoH\!

Index: res_musiconhold.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_musiconhold.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- res_musiconhold.c	24 Dec 2004 01:40:07 -0000	1.42
+++ res_musiconhold.c	26 Dec 2004 00:33:17 -0000	1.43
@@ -388,9 +388,8 @@
 			}
 		}
         /* Child */
-
-        if(class->custom) {
-			chdir(class->dir);
+		chdir(class->dir);
+		if(class->custom) {
 			execv(argv[0], argv);
         } else {
             /* Default install is /usr/local/bin */




More information about the svn-commits mailing list