pkg-psyc: setParseBuffer2

This commit is contained in:
Gabor Adam Toth 2011-05-10 17:17:41 +02:00
parent 6071a04a8d
commit a4825c7a97
1 changed files with 1 additions and 2 deletions

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) {