diff options
author | Lev Walkin <vlm@lionet.info> | 2006-07-13 11:19:01 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2006-07-13 11:19:01 +0000 |
commit | 1eded3544e880b2a2c9ee122ace2c64710d04981 (patch) | |
tree | 4a3cb942269f507b8fde8b50bb9bc5cd4d6330be /skeletons/IA5String.c | |
parent | 397d59d448f62adf830af96dabdae97c294a7765 (diff) |
*** empty log message ***
Diffstat (limited to 'skeletons/IA5String.c')
-rw-r--r-- | skeletons/IA5String.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/skeletons/IA5String.c b/skeletons/IA5String.c index a4d7ff84..abc9ff38 100644 --- a/skeletons/IA5String.c +++ b/skeletons/IA5String.c @@ -37,7 +37,7 @@ asn_TYPE_descriptor_t asn_DEF_IA5String = { int IA5String_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_consume_bytes_f *app_errlog, void *app_key) { + asn_app_constraint_failed_f *ctfailcb, void *app_key) { const IA5String_t *st = (const IA5String_t *)sptr; if(st && st->buf) { @@ -49,7 +49,7 @@ IA5String_constraint(asn_TYPE_descriptor_t *td, const void *sptr, */ for(; buf < end; buf++) { if(*buf > 0x7F) { - _ASN_ERRLOG(app_errlog, app_key, + _ASN_CTFAIL(app_key, td, "%s: value byte %ld out of range: " "%d > 127 (%s:%d)", td->name, @@ -60,7 +60,7 @@ IA5String_constraint(asn_TYPE_descriptor_t *td, const void *sptr, } } } else { - _ASN_ERRLOG(app_errlog, app_key, + _ASN_CTFAIL(app_key, td, "%s: value not given (%s:%d)", td->name, __FILE__, __LINE__); return -1; |