[asterisk-commits] mvanbaak: branch 1.6.2 r216225 - in /branches/1.6.2: ./ main/astobj2.c

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


Author: mvanbaak
Date: Fri Sep  4 01:14:38 2009
New Revision: 216225

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=216225
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.2/   (props changed)
    branches/1.6.2/main/astobj2.c

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

Modified: branches/1.6.2/main/astobj2.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/main/astobj2.c?view=diff&rev=216225&r1=216224&r2=216225
==============================================================================
--- branches/1.6.2/main/astobj2.c (original)
+++ branches/1.6.2/main/astobj2.c Fri Sep  4 01:14:38 2009
@@ -643,7 +643,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