Skip to content
Snippets Groups Projects
Commit 2c23dcaf authored by Lev Walkin's avatar Lev Walkin
Browse files

do not account negatives

parent 349e8479
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,7 @@ static inline void ASN_DEBUG(const char *fmt, ...) { (void)fmt; }
int __nl = ((nl) != 0); \
int __i; \
if(__nl) _ASN_CALLBACK("\n", 1); \
if(__level < 0) __level = 0; \
for(__i = 0; __i < __level; __i++) \
_ASN_CALLBACK(" ", 4); \
er.encoded += __nl + 4 * __level; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment