fix regression test; oops

svn:r749
This commit is contained in:
Niels Provos 2008-04-30 00:50:20 +00:00
parent 682adc443b
commit c58a01a23b

View File

@ -1456,9 +1456,6 @@ bufferevent_input_filter(struct evbuffer *src, struct evbuffer *dst,
const unsigned char *buffer;
int i;
if (state == BEV_FREE_DATA)
return (BEV_OK);
buffer = evbuffer_pullup(src, EVBUFFER_LENGTH(src));
for (i = 0; i < EVBUFFER_LENGTH(src); i += 2) {
assert(buffer[i] == 'x');
@ -1481,9 +1478,6 @@ bufferevent_output_filter(struct evbuffer *src, struct evbuffer *dst,
const unsigned char *buffer;
int i;
if (state == BEV_FREE_DATA)
return (BEV_OK);
buffer = evbuffer_pullup(src, EVBUFFER_LENGTH(src));
for (i = 0; i < EVBUFFER_LENGTH(src); ++i) {
evbuffer_add(dst, "x", 1);