equal
deleted
inserted
replaced
87 ASSERT((source->flags() & |
87 ASSERT((source->flags() & |
88 BundleProtocol::BLOCK_FLAG_DISCARD_BLOCK_ONERROR) == 0); |
88 BundleProtocol::BLOCK_FLAG_DISCARD_BLOCK_ONERROR) == 0); |
89 |
89 |
90 // The source better have some contents, but doesn't need to have |
90 // The source better have some contents, but doesn't need to have |
91 // any data necessarily |
91 // any data necessarily |
|
92 if(source->contents().len() == 0) |
|
93 ASSERT(source->contents().len() == 0); |
92 ASSERT(source->contents().len() != 0); |
94 ASSERT(source->contents().len() != 0); |
93 ASSERT(source->data_offset() != 0); |
95 ASSERT(source->data_offset() != 0); |
94 |
96 |
95 u_int8_t flags = source->flags(); |
97 u_int8_t flags = source->flags(); |
96 if (last) { |
98 if (last) { |