servlib/bundling/BPQCacheEntry.cc
changeset 72 e978673d3bc2
parent 66 e1101c5d54a1
equal deleted inserted replaced
71:fdb6e00dacc9 72:e978673d3bc2
   106 
   106 
   107         f_len = fragment->payload().length();
   107         f_len = fragment->payload().length();
   108         f_offset = fragment->frag_offset();
   108         f_offset = fragment->frag_offset();
   109         f_origlen = fragment->orig_length();
   109         f_origlen = fragment->orig_length();
   110 
   110 
   111         ASSERT(fragment->is_fragment());
   111         if (! fragment->is_fragment() )
       
   112         	return true;
   112 
   113 
   113         if (f_origlen != total_len_) {
   114         if (f_origlen != total_len_) {
   114             PANIC("check_completed: error fragment orig len %zu != total %zu",
   115             PANIC("check_completed: error fragment orig len %zu != total %zu",
   115                   f_origlen, total_len_);
   116                   f_origlen, total_len_);
   116             // XXX/demmer deal with this
   117             // XXX/demmer deal with this