[asterisk-commits] mvanbaak: branch 1.6.1 r216224 - in /branches/1.6.1: ./ main/astobj2.c

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


Author: mvanbaak
Date: Fri Sep  4 01:13:19 2009
New Revision: 216224

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

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

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