[asterisk-commits] mvanbaak: branch 1.6.0 r216223 - in /branches/1.6.0: ./ main/astobj2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 4 01:11:45 CDT 2009


Author: mvanbaak
Date: Fri Sep  4 01:11:42 2009
New Revision: 216223

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

........
  r216222 | mvanbaak | 2009-09-04 08:08:33 +0200 (Fri, 04 Sep 2009) | 3 lines
  
  make sure 'start' is always initialized.
  Makes asterisk compile with --enable-dev-mode
........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/main/astobj2.c

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

Modified: branches/1.6.0/main/astobj2.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.0/main/astobj2.c?view=diff&rev=216223&r1=216222&r2=216223
==============================================================================
--- branches/1.6.0/main/astobj2.c (original)
+++ branches/1.6.0/main/astobj2.c Fri Sep  4 01:11:42 2009
@@ -471,7 +471,7 @@
 	if ((flags & OBJ_POINTER))	/* we know hash can handle this case */
 		start = i = c->hash_fn(arg, flags & OBJ_POINTER) % c->n_buckets;
 	else			/* don't know, let's scan all buckets */
-		i = -1;		/* XXX this must be fixed later. */
+		start = i = -1;		/* XXX this must be fixed later. */
 
 	/* determine the search boundaries: i..last-1 */
 	if (i < 0) {




More information about the asterisk-commits mailing list