[asterisk-commits] tilghman: branch 1.6.1 r168549 - in /branches/1.6.1: ./ funcs/func_logic.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 13 11:52:42 CST 2009


Author: tilghman
Date: Tue Jan 13 11:52:41 2009
New Revision: 168549

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=168549
Log:
Merged revisions 168547 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r168547 | tilghman | 2009-01-13 11:51:12 -0600 (Tue, 13 Jan 2009) | 13 lines
  
  Merged revisions 168546 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r168546 | tilghman | 2009-01-13 11:48:00 -0600 (Tue, 13 Jan 2009) | 6 lines
    
    If either conditional is NULL, don't try copying it.
    (closes issue #14226)
     Reported by: caspy
     Patches: 
           20090113__bug14226.diff.txt uploaded by Corydon76 (license 14)
  ........
................

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/funcs/func_logic.c

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

Modified: branches/1.6.1/funcs/func_logic.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.1/funcs/func_logic.c?view=diff&rev=168549&r1=168548&r2=168549
==============================================================================
--- branches/1.6.1/funcs/func_logic.c (original)
+++ branches/1.6.1/funcs/func_logic.c Tue Jan 13 11:52:41 2009
@@ -79,7 +79,7 @@
 	if (iffalse)
 		iffalse = ast_strip_quoted(iffalse, "\"", "\"");
 
-	ast_copy_string(buf, ast_check_timing(&timing) ? iftrue : iffalse, len);
+	ast_copy_string(buf, ast_check_timing(&timing) ? S_OR(iftrue, "") : S_OR(iffalse, ""), len);
 
 	return 0;
 }




More information about the asterisk-commits mailing list