-
- if (!TTEST2(*(pptr+msg_off), 1))
- goto trunc;
-
- while ( *(pptr+msg_off) >= '0' &&
- *(pptr+msg_off) <= '9' &&
- msg_off <= SYSLOG_MAX_DIGITS) {
-
- if (!TTEST2(*(pptr+msg_off), 1))
- goto trunc;
-
+ ND_TCHECK2(*(pptr + msg_off), 1);
+ while (msg_off <= SYSLOG_MAX_DIGITS &&
+ *(pptr+msg_off) >= '0' &&
+ *(pptr+msg_off) <= '9') {