Commit aa5838cb authored by Lev Walkin's avatar Lev Walkin

better debug

parent 93f372b8
......@@ -131,10 +131,10 @@ asn_encode_to_buffer(const asn_codec_ctx_t *opt_codec_ctx,
overrun_encoder_cb, &buf_key);
if(er.encoded >= 0 && (size_t)er.encoded != buf_key.computed_size) {
ASN_DEBUG("asn_encode returned %zd yet wrote %zu bytes",
ASN_DEBUG("asn_encode() returned %zd yet produced %zu bytes",
er.encoded, buf_key.computed_size);
assert(er.encoded < 0 || (size_t)er.encoded == buf_key.computed_size);
}
assert(er.encoded < 0 || (size_t)er.encoded == buf_key.computed_size);
return er;
}
......
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