Fix message parsing bug.

This commit is contained in:
Kris Maglione 2007-06-01 03:42:59 -04:00
parent ecbffad57a
commit c2c06670d5

View File

@ -105,6 +105,8 @@ eatrunes(Message *m, int (*p)(Rune), int val) {
break;
m->pos += n;
}
if(m->pos > m->end)
m->pos = m->end;
}
char *