This got changed away from what I actually prefer in commit
be2c418b73fc
(Cleanup isdigit() warnings.).
Signed-off-by: Ben Pfaff <blp@nicira.com>
expressions that use && and ||. Thus:
if (!isdigit((unsigned char)s[0])
- || !isdigit((unsigned char)s[1])
- || !isdigit((unsigned char)s[2])) {
+ || !isdigit((unsigned char)s[1])
+ || !isdigit((unsigned char)s[2])) {
printf("string %s does not start with 3-digit code\n", s);
}