[process_bulk] walk the buffer

pull/2166/head
nick black 3 years ago
parent 78eeaf55ea
commit 24c194df1b
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -1629,6 +1629,8 @@ process_bulk(inputctx* ictx, unsigned char* buf, int* bufused){
if(consumed <= 0){ if(consumed <= 0){
break; break;
} }
*bufused -= consumed;
offset += consumed;
} }
// move any leftovers to the front // move any leftovers to the front
if(*bufused){ if(*bufused){

Loading…
Cancel
Save