projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use "==0" instead of "!strcmp" etc
[openssl.git]
/
demos
/
bio
/
client-conf.c
diff --git
a/demos/bio/client-conf.c
b/demos/bio/client-conf.c
index 150e7fcf835f4c1b66d174439b837f271889705a..b75088a7580f687c7eb00f2314af4c4775b0415b 100644
(file)
--- a/
demos/bio/client-conf.c
+++ b/
demos/bio/client-conf.c
@@
-53,7
+53,7
@@
int main(int argc, char **argv)
ERR_print_errors_fp(stderr);
goto end;
}
- if (
!strcmp(cnf->name, "Connect")
) {
+ if (
strcmp(cnf->name, "Connect") == 0
) {
connect_str = cnf->value;
} else {
fprintf(stderr, "Unknown configuration option %s\n", cnf->name);