commit: r355 - trunk/libspread

[email protected]
Newsgroups gmane.network.spread.cvs
Message-ID <[email protected]>
Author: jschultz
Date: 2006-10-06 10:39:35 -0400 (Fri, 06 Oct 2006)
New Revision: 355

Modified:
   trunk/libspread/sp.c
Log:
Fixed bug in sp_get_vs_sets_info.  Wrong loop variable used.



Modified: trunk/libspread/sp.c
===================================================================
--- trunk/libspread/sp.c	2006-06-04 05:10:05 UTC (rev 354)
+++ trunk/libspread/sp.c	2006-10-06 14:39:35 UTC (rev 355)
@@ -1866,7 +1866,7 @@
         local_vs_set_offset += SP_get_first_vs_set_offset_memb_mess();
         memb_offset = SP_get_first_vs_set_offset_memb_mess();
 
-        for ( i=0; i < num_vs_sets; i++, vs_sets++ )
+        for ( i=0; i < actual_num_vs_sets; i++, vs_sets++ )
         {
                 if (memb_offset == local_vs_set_offset)
                         *my_vs_set_index = i;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.