Fixed Error string in rev_proxy.c

This commit is contained in:
2021-09-17 18:21:34 +02:00
parent ac2d17f23a
commit eba916fad4

View File

@ -223,7 +223,7 @@ int rev_proxy_init(http_req *req, http_res *res, host_config *conf, sock *client
} else { } else {
res->status = http_get_status(500); res->status = http_get_status(500);
} }
print(ERR_STR "Unable to connect to [%s]%i: %s" CLR_STR, buffer, conf->rev_proxy.port, strerror(errno)); print(ERR_STR "Unable to connect to [%s]:%i: %s" CLR_STR, buffer, conf->rev_proxy.port, strerror(errno));
sprintf(err_msg, "Unable to connect to server: %s.", strerror(errno)); sprintf(err_msg, "Unable to connect to server: %s.", strerror(errno));
goto proxy_err; goto proxy_err;
} }