diff src/prop.c @ 280:c8b6ca46950b mbtext

Add merged result
author wycc
date Sat, 31 Jan 2009 12:29:50 +0800
parents f08b3ba9c1d8
children 586e50f82c1f
line wrap: on
line diff
--- a/src/prop.c	Sat Jan 31 11:51:19 2009 +0800
+++ b/src/prop.c	Sat Jan 31 12:29:50 2009 +0800
@@ -24,7 +24,7 @@
     if(last == NULL)
 	return;
 
-    for(entry = STAILQ_NEXT(mb_prop_entry_t, next, entry);
+    for(entry = STAILQ_NEXT(mb_prop_entry_t, next, last);
 	entry != NULL;
 	entry = STAILQ_NEXT(mb_prop_entry_t, next, entry)) {
 	STAILQ_REMOVE(prop_store->entries, mb_prop_entry_t, next, last);