[asterisk-commits] seanbright: branch 1.6.2 r240720 - in /branches/1.6.2: ./ main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jan 17 13:47:49 CST 2010


Author: seanbright
Date: Sun Jan 17 13:47:47 2010
New Revision: 240720

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=240720
Log:
Merged revisions 240717 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240717 | seanbright | 2010-01-17 14:45:48 -0500 (Sun, 17 Jan 2010) | 5 lines
  
  Avoid a crash on Solaris when running 'core show functions.'
  
  (closes issue #16309)
  Reported by: asgaroth
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/main/pbx.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/pbx.c?view=diff&rev=240720&r1=240719&r2=240720
==============================================================================
--- branches/1.6.2/main/pbx.c (original)
+++ branches/1.6.2/main/pbx.c Sun Jan 17 13:47:47 2010
@@ -3079,7 +3079,10 @@
 	AST_RWLIST_TRAVERSE(&acf_root, acf, acflist) {
 		if (!like || strstr(acf->name, a->argv[4])) {
 			count_acf++;
-			ast_cli(a->fd, "%-20.20s  %-35.35s  %s\n", acf->name, acf->syntax, acf->synopsis);
+			ast_cli(a->fd, "%-20.20s  %-35.35s  %s\n",
+				S_OR(acf->name, ""),
+				S_OR(acf->syntax, ""),
+				S_OR(acf->synopsis, ""));
 		}
 	}
 	AST_RWLIST_UNLOCK(&acf_root);




More information about the asterisk-commits mailing list