1
0
Fork 0
mirror of git://git.psyced.org/git/psyclpc synced 2024-08-15 03:20:16 +00:00

pkg-psyc: setParseBuffer2

This commit is contained in:
Gabor Adam Toth 2011-05-10 17:17:41 +02:00
parent 6071a04a8d
commit a4825c7a97

View file

@ -140,8 +140,7 @@ f_psyc_parse (svalue_t *sp) {
}
else if (sp->type == T_STRING) {
printf("\npsyc_parse got a %ld bytes long string...\n", mstrsize(sp->u.str));
psyc_setParseBuffer(state->parser, psyc_newString(get_txt(sp->u.str),
mstrsize(sp->u.str)));
psyc_setParseBuffer2(state->parser, get_txt(sp->u.str), mstrsize(sp->u.str));
}
if (!state->packet) {