diff options
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2006-08-18 02:27:55 +0000 |
---|---|---|
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2006-08-18 02:27:55 +0000 |
commit | 1fcf759bf5baacc72320d407ca651aa49d63eb76 (patch) | |
tree | 0b8e91f7da38399fa1aa3a7607e17a83441043b8 /libasn1parser/asn1p_class.c | |
parent | 6e98eaf2a81c8590e9f94cc0082e3f3e349dab7c (diff) |
*** empty log message ***
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1132 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'libasn1parser/asn1p_class.c')
-rw-r--r-- | libasn1parser/asn1p_class.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libasn1parser/asn1p_class.c b/libasn1parser/asn1p_class.c index 585ec93c..c6e6c3d7 100644 --- a/libasn1parser/asn1p_class.c +++ b/libasn1parser/asn1p_class.c @@ -154,19 +154,19 @@ asn1p_wsyntx_clone(asn1p_wsyntx_t *wx) { } asn1p_wsyntx_chunk_t * -asn1p_wsyntx_chunk_frombuf(char *buf, int len, int do_copy) { +asn1p_wsyntx_chunk_fromstring(char *token, int do_copy) { asn1p_wsyntx_chunk_t *wc; if(do_copy) { static asn1p_wsyntx_chunk_t tmp; tmp.type = WC_LITERAL; - tmp.content.token = buf; + tmp.content.token = token; wc = asn1p_wsyntx_chunk_clone(&tmp); } else { wc = asn1p_wsyntx_chunk_new(); if(wc) { wc->type = WC_LITERAL; - wc->content.token = buf; + wc->content.token = token; } } |