From a4825c7a97cf34c5767ce4cd3c0a6e72d503087e Mon Sep 17 00:00:00 2001 From: Gabor Adam Toth Date: Tue, 10 May 2011 17:17:41 +0200 Subject: [PATCH] pkg-psyc: setParseBuffer2 --- src/pkg-psyc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pkg-psyc.c b/src/pkg-psyc.c index e2b5f96..9529ef8 100644 --- a/src/pkg-psyc.c +++ b/src/pkg-psyc.c @@ -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) {