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:
parent
6071a04a8d
commit
a4825c7a97
1 changed files with 1 additions and 2 deletions
|
@ -140,8 +140,7 @@ f_psyc_parse (svalue_t *sp) {
|
||||||
}
|
}
|
||||||
else if (sp->type == T_STRING) {
|
else if (sp->type == T_STRING) {
|
||||||
printf("\npsyc_parse got a %ld bytes long string...\n", mstrsize(sp->u.str));
|
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),
|
psyc_setParseBuffer2(state->parser, get_txt(sp->u.str), mstrsize(sp->u.str));
|
||||||
mstrsize(sp->u.str)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!state->packet) {
|
if (!state->packet) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue