summaryrefslogtreecommitdiffstats
path: root/lib/libipsec/ipsec_strerror.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-04-05 02:07:33 +0000
committerdelphij <delphij@FreeBSD.org>2007-04-05 02:07:33 +0000
commit3628fe430a2c5afcca82ad0360d4352ec479ed0b (patch)
treedd0a91e62f77ad1d7cf671591e38539113bee414 /lib/libipsec/ipsec_strerror.c
parent3daa1603f79fbbe86aab06441508614bb5fadde5 (diff)
downloadFreeBSD-src-3628fe430a2c5afcca82ad0360d4352ec479ed0b.zip
FreeBSD-src-3628fe430a2c5afcca82ad0360d4352ec479ed0b.tar.gz
Avoid using intermediate variables by just comparing between
two values, the latter does not tend to have sign extension and/or overflow bugs, and makes the code more obvious. While I'm there, make use of a macro which is derived from bin/ps/ps.c: ps_compat() to improve the readability of the code. Suggested by: bde MFC after: 1 week
Diffstat (limited to 'lib/libipsec/ipsec_strerror.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud