git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use ovs_assert instead of assert
[sliver-openvswitch.git]
/
CodingStyle
diff --git
a/CodingStyle
b/CodingStyle
index
b0aeb4e
..
ee7a0e6
100644
(file)
--- a/
CodingStyle
+++ b/
CodingStyle
@@
-432,8
+432,8
@@
precedence makes it necessary, or unless the operands are themselves
expressions that use && and ||. Thus:
if (!isdigit((unsigned char)s[0])
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);
}
printf("string %s does not start with 3-digit code\n", s);
}