Rename fcgi_cnx to fcgi_ctx in client struct

This commit is contained in:
2023-07-01 20:13:51 +02:00
parent 9aaa28f1ca
commit bd8e71e83d
4 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ int fastcgi_handle_connection(client_ctx_t *ctx, fastcgi_cnx_t **cnx) {
a->closed = 0;
a->client = ctx;
memcpy(&a->cnx, *cnx, sizeof(fastcgi_cnx_t));
ctx->fcgi_cnx = a;
ctx->fcgi_ctx = a;
fastcgi_handle_frame(a);
*cnx = &a->cnx;
@@ -66,7 +66,7 @@ void fastcgi_close(fastcgi_ctx_t *ctx) {
debug("Closing FastCGI connection");
fastcgi_close_cnx(&ctx->cnx);
ctx->client->fcgi_cnx = NULL;
ctx->client->fcgi_ctx = NULL;
free(ctx);
errno = 0;
}