[svn-commits] tilghman: branch 1.6.2 r309677 - /branches/1.6.2/main/asterisk.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Mar 5 04:28:28 CST 2011


Author: tilghman
Date: Sat Mar  5 04:28:24 2011
New Revision: 309677

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=309677
Log:
Missed part of the conversion when we started passing ppid to astcanary.

(closes issue #18850)
 Reported by: viraptor
 Patches: 
       canary_ppid.patch uploaded by viraptor (license 543)

Modified:
    branches/1.6.2/main/asterisk.c

Modified: branches/1.6.2/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/asterisk.c?view=diff&rev=309677&r1=309676&r2=309677
==============================================================================
--- branches/1.6.2/main/asterisk.c (original)
+++ branches/1.6.2/main/asterisk.c Sat Mar  5 04:28:24 2011
@@ -3609,7 +3609,7 @@
 			ast_copy_string(canary_binary, argv[0], sizeof(canary_binary));
 			if ((lastslash = strrchr(canary_binary, '/'))) {
 				ast_copy_string(lastslash + 1, "astcanary", sizeof(canary_binary) + canary_binary - (lastslash + 1));
-				execl(canary_binary, "astcanary", canary_filename, (char *)NULL);
+				execl(canary_binary, "astcanary", canary_filename, ppid, (char *)NULL);
 			}
 
 			/* Should never happen */




More information about the svn-commits mailing list