]> diplodocus.org Git - nmh/commitdiff
Move the read buffer shuffling to BEFORE where we call the network
authorKen Hornstein <kenh@pobox.com>
Sun, 2 Oct 2016 05:47:15 +0000 (01:47 -0400)
committerKen Hornstein <kenh@pobox.com>
Sun, 2 Oct 2016 05:47:15 +0000 (01:47 -0400)
read routines; otherwise we can end up calling the lower layers with
a length of zero, which messes everything up.

Also make sure we reshuffle our pointers around if that happens.


No differences found