diff options
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2004-08-11 09:44:13 +0000 |
---|---|---|
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2004-08-11 09:44:13 +0000 |
commit | e3f0f2834faf4ce86ac89da7ddfb5f51569c477e (patch) | |
tree | 2814a46022d1518c401a5c2d40fc9515d78ae351 /skeletons/BIT_STRING.c | |
parent | e517408193235afaf1ac7f7f9e8293d66e3da82f (diff) |
portability
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@97 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'skeletons/BIT_STRING.c')
-rw-r--r-- | skeletons/BIT_STRING.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/skeletons/BIT_STRING.c b/skeletons/BIT_STRING.c index ef5bd0a2..7e576a1e 100644 --- a/skeletons/BIT_STRING.c +++ b/skeletons/BIT_STRING.c @@ -37,16 +37,19 @@ BIT_STRING_constraint(asn1_TYPE_descriptor_t *td, const void *sptr, if(st && st->buf) { if(st->size) { if(st->size == 1 && st->buf[0] != 0) { - _ASN_ERRLOG("%s: invalid padding byte", + _ASN_ERRLOG(app_errlog, app_key, + "%s: invalid padding byte", td->name); return -1; } } else { - _ASN_ERRLOG("%s: no padding byte", td->name); + _ASN_ERRLOG(app_errlog, app_key, + "%s: no padding byte", td->name); return -1; } } else { - _ASN_ERRLOG("%s: value not given", td->name); + _ASN_ERRLOG(app_errlog, app_key, + "%s: value not given", td->name); return -1; } |