aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-11-27 10:06:08 +0000
committerOmar Polo <op@omarpolo.com>2022-11-27 10:06:08 +0000
commiteb4f96c10afcf8806cbbff3087aa0850e3fc9905 (patch)
treee2b2c20895a069e95710865071d7ec2a31c76b87 /server.c
parente92efb0d8ecfd42e3585963c8b66c61f5451cfa9 (diff)
typo
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 50b443f..ae2ba79 100644
--- a/server.c
+++ b/server.c
@@ -722,7 +722,7 @@ apply_fastcgi(struct client *c)
log_debug(c, "opening fastcgi connection for (%s,%s)",
f->path, f->port);
- if (*f->port != '\0')
+ if (*f->port == '\0')
c->pfd = fcgi_open_sock(f);
else
c->pfd = fcgi_open_conn(f);