diff options
author | Lev Walkin <vlm@lionet.info> | 2004-10-23 11:19:43 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2004-10-23 11:19:43 +0000 |
commit | 36b8b8270318e3d814c8092f75fb900bf8721850 (patch) | |
tree | ca1e91cb8fb14883f0a8ccbf648c74a2b4385f3a /skeletons | |
parent | 4cb49cb1ef4a2e1fb91b2d8564dcd5a6abd3217e (diff) |
play safe
Diffstat (limited to 'skeletons')
-rw-r--r-- | skeletons/asn_codecs_prim.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/skeletons/asn_codecs_prim.c b/skeletons/asn_codecs_prim.c index 04a064dd..f2d045aa 100644 --- a/skeletons/asn_codecs_prim.c +++ b/skeletons/asn_codecs_prim.c @@ -245,8 +245,9 @@ xer_decode_primitive(asn_codec_ctx_t *opt_codec_ctx, switch(rc.code) { case RC_OK: if(!s_arg.decoded_something) { + char ch; /* Opportunity has come and gone. Where's the result? */ - if(prim_body_decode(s_arg.struct_key, "", 0) != 0) { + if(prim_body_decode(s_arg.struct_key, &ch, 0) != 0) { /* * This decoder does not like empty stuff. */ |