Commit f04d4e42 authored by Lev Walkin's avatar Lev Walkin

conditional printing

parent 53e5ae65
......@@ -35,8 +35,8 @@ check_decode(int lineno, enum asn_dec_rval_code_e code, intmax_t control, const
asn_oer_constraints_t *constraints = setup_constraints(width, positive);
fprintf(stderr, "%d: buf[%zu]={%d, %d, ...}\n", lineno, size,
((const uint8_t *)buf)[0],
((const uint8_t *)buf)[1]);
size <= 0 ? -1 : ((const uint8_t *)buf)[0],
size <= 1 ? -1 : ((const uint8_t *)buf)[1]);
(void)dummy;
......
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