yay for bugs

This commit is contained in:
Anthony Minessale 2013-06-19 12:26:45 -05:00
parent 59a082c091
commit 633dcd46b6
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
Wed Jun 12 23:48:20 CDT 2013
Wed Jun 19 12:25:57 CDT 2013

View File

@ -226,7 +226,7 @@ int tport_recv_stream_ws(tport_t *self)
return 2;
}
if (N == -1000) {
if ((N == -1000) ||(N == 0)) {
if (self->tp_msg)
msg_recv_commit(self->tp_msg, 0, 1);
return 0; /* End of stream */