Commit 4ab42cd0 authored by Lev Walkin's avatar Lev Walkin

refactoring

parent c8fb7129
......@@ -150,8 +150,7 @@ SET_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
if(rval.code != RC_OK) {
ASN_DEBUG("%s tagging check failed: %d",
td->name, rval.code);
consumed_myself += rval.consumed;
RETURN(rval.code);
return rval;
}
if(ctx->left >= 0)
......
......@@ -118,8 +118,7 @@ SET_OF_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
if(rval.code != RC_OK) {
ASN_DEBUG("%s tagging check failed: %d",
td->name, rval.code);
consumed_myself += rval.consumed;
RETURN(rval.code);
return rval;
}
if(ctx->left >= 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment