diff options
author | Lev Walkin <vlm@lionet.info> | 2006-12-06 08:39:47 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2006-12-06 08:39:47 +0000 |
commit | 2c23dcaf3f7f735ae24ecc6ff43ce9a23360ab5f (patch) | |
tree | 543b262bf21f2f34b24feaf9f6b3195631b8bd7e /skeletons | |
parent | 349e8479e67d07ced3ee9ea728391dd844eeec99 (diff) |
do not account negatives
Diffstat (limited to 'skeletons')
-rw-r--r-- | skeletons/asn_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/skeletons/asn_internal.h b/skeletons/asn_internal.h index 67f055a6..ff632778 100644 --- a/skeletons/asn_internal.h +++ b/skeletons/asn_internal.h @@ -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; \ |