[asterisk-commits] dbailey: branch 1.6.1 r177037 - in /branches/1.6.1: ./ main/utils.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 18 11:26:25 CST 2009


Author: dbailey
Date: Wed Feb 18 11:26:25 2009
New Revision: 177037

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

........
  r177035 | dbailey | 2009-02-18 11:24:07 -0600 (Wed, 18 Feb 2009) | 2 lines
  
  Fixed error where a check for an zero length, terminated string was needed.
........

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/main/utils.c

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

Modified: branches/1.6.1/main/utils.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.1/main/utils.c?view=diff&rev=177037&r1=177036&r2=177037
==============================================================================
--- branches/1.6.1/main/utils.c (original)
+++ branches/1.6.1/main/utils.c Wed Feb 18 11:26:25 2009
@@ -1598,7 +1598,7 @@
 	   otherwise, use the empty space at the end of the current
 	   pool
 	*/
-	if ((*ptr)[0] != '0') {
+	if ((*ptr)[0] != '\0') {
 		target = (char *) *ptr;
 		available = strlen(target) + 1;
 	} else {




More information about the asterisk-commits mailing list