diff options
author | phk <phk@FreeBSD.org> | 2003-02-02 18:15:28 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-02-02 18:15:28 +0000 |
commit | 0f2a6b3b409c320443ea3523543d42cee7d77913 (patch) | |
tree | 6a19cfd939847d79d10c9a2a4677a8df51fd10b2 | |
parent | 72a5c5c4434c19ce0026b5c06d1a1c479593783b (diff) | |
download | FreeBSD-src-0f2a6b3b409c320443ea3523543d42cee7d77913.zip FreeBSD-src-0f2a6b3b409c320443ea3523543d42cee7d77913.tar.gz |
A minor stylistic change to make it more clear to lint-like tools.
-rw-r--r-- | sys/net/if_ppp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c index 82c5c1e..7557844 100644 --- a/sys/net/if_ppp.c +++ b/sys/net/if_ppp.c @@ -1611,14 +1611,14 @@ pppdumpm(m0) u_char *rptr = (u_char *)m->m_data; while (l--) { - if (bp > buf + sizeof(buf) - 4) + if (bp > buf + (sizeof(buf) - 4)) goto done; *bp++ = hex2ascii(*rptr >> 4); *bp++ = hex2ascii(*rptr++ & 0xf); } if (m->m_next) { - if (bp > buf + sizeof(buf) - 3) + if (bp > buf + (sizeof(buf) - 3)) goto done; *bp++ = '|'; } else |