summaryrefslogtreecommitdiffstats
path: root/demos/bio/client-conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/bio/client-conf.c')
-rw-r--r--demos/bio/client-conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/bio/client-conf.c b/demos/bio/client-conf.c
index 150e7fcf83..b75088a758 100644
--- 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);