[Namazu-cvs 821] r257 - Search-Namazu/trunk/Search-Namazu

cvsd @ vaj.namazu.org cvsd @ vaj.namazu.org
2006年 5月 22日 (月) 15:45:36 JST


Author: knok
Date: 2006-05-22 15:45:36 +0900 (Mon, 22 May 2006)
New Revision: 257

Modified:
   Search-Namazu/trunk/Search-Namazu/Namazu.xs
Log:
Fixed more.


Modified: Search-Namazu/trunk/Search-Namazu/Namazu.xs
===================================================================
--- Search-Namazu/trunk/Search-Namazu/Namazu.xs	2006-05-22 04:57:23 UTC (rev 256)
+++ Search-Namazu/trunk/Search-Namazu/Namazu.xs	2006-05-22 06:45:36 UTC (rev 257)
@@ -75,10 +75,9 @@
 	for (idxid = 0; idxid < nmz_get_idxnum(); idxid ++) {
 	    struct nmz_hitnumlist *hnlist = nmz_get_idx_hitnumlist(idxid);
 	    while (hnlist != NULL) {
-	    	  if (hnlist->stat == SUCCESS) {
-		     status = SUCCESS;
-		     break;
-		  }
+		  status = hnlist->stat;
+	    	  if (hnlist->stat == SUCCESS)
+		      return;
 	    	  hnlist = hnlist->next;
 	    }
 	}




Namazu-cvs メーリングリストの案内