servlib/bundling/BPQCacheEntry.cc
changeset 58 574358af597b
parent 57 bb780f1beb9b
child 64 1296a0283271
--- a/servlib/bundling/BPQCacheEntry.cc	Wed Oct 05 13:57:27 2011 +0100
+++ b/servlib/bundling/BPQCacheEntry.cc	Thu Oct 06 12:15:22 2011 +0100
@@ -24,7 +24,7 @@
 {
 	if ( ! bundle->is_fragment() ) {
 		log_debug("add complete response to cache entry");
-		bundle_ = bundle;
+		fragments_.insert_sorted(bundle, BundleList::SORT_FRAG_OFFSET);
 		is_complete_ = true;
 
 	} else if ( bundle->is_fragment() && ! is_complete_ ) {