Commit f3f5f8f6 authored by Pau Espin Pedrol's avatar Pau Espin Pedrol Committed by Mouse

aper_decoder: Fix wrong indentation

This also fixes a gcc warning about "if" clause not guarding code below
it.
parent 99b60836
...@@ -75,7 +75,7 @@ aper_decode(const asn_codec_ctx_t *opt_codec_ctx, ...@@ -75,7 +75,7 @@ aper_decode(const asn_codec_ctx_t *opt_codec_ctx,
*/ */
if(!td->op->aper_decoder) if(!td->op->aper_decoder)
ASN__DECODE_FAILED; /* PER is not compiled in */ ASN__DECODE_FAILED; /* PER is not compiled in */
rval = td->op->aper_decoder(opt_codec_ctx, td, 0, sptr, &pd); rval = td->op->aper_decoder(opt_codec_ctx, td, 0, sptr, &pd);
if(rval.code == RC_OK) { if(rval.code == RC_OK) {
/* Return the number of consumed bits */ /* Return the number of consumed bits */
rval.consumed = ((pd.buffer - (const uint8_t *)buffer) << 3) rval.consumed = ((pd.buffer - (const uint8_t *)buffer) << 3)
......
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