summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
06582fe)
Also add brackets, we do not want to make the same kind of mistake
Apple did with their SSL goto bug.
else *last = '\0';
/* Store value if it is relevant */
else *last = '\0';
/* Store value if it is relevant */
- if (!strncmp("username=\"", first, 10))
+ if (!strncmp("username=\"", first, 10)) {
- if (!strncmp("realm=\"", first, 7))
+ } else if (!strncmp("realm=\"", first, 7)) {
- if (!strncmp("nonce=\"", first, 7))
+ } else if (!strncmp("nonce=\"", first, 7)) {
- if (!strncmp("uri=\"", first, 5))
+ } else if (!strncmp("uri=\"", first, 5)) {
- if (!strncmp("response=\"", first, 10))
+ } else if (!strncmp("response=\"", first, 10)) {
}
if (!username || !realm || !nonce || !uri || !response) {
}
if (!username || !realm || !nonce || !uri || !response) {