[asterisk-commits] branch 1.2 r9870 - /branches/1.2/asterisk.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Feb 13 21:45:15 MST 2006


Author: bweschke
Date: Mon Feb 13 22:45:14 2006
New Revision: 9870

URL: http://svn.digium.com/view/asterisk?rev=9870&view=rev
Log:
 Fixed my silly backport error from r9861


Modified:
    branches/1.2/asterisk.c

Modified: branches/1.2/asterisk.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/asterisk.c?rev=9870&r1=9869&r2=9870&view=diff
==============================================================================
--- branches/1.2/asterisk.c (original)
+++ branches/1.2/asterisk.c Mon Feb 13 22:45:14 2006
@@ -2210,7 +2210,7 @@
 
 #endif /* __CYGWIN__ */
 
-	if (geteuid() && ast_opt_dump_core) {
+	if (geteuid() && option_dumpcore) {
 		if (prctl(PR_SET_DUMPABLE, 1, 0, 0, 0) < 0) {
 			ast_log(LOG_WARNING, "Unable to set the process for core dumps after changing to a non-root user. %s\n", strerror(errno));
 		}	



More information about the asterisk-commits mailing list