mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-14 10:20:01 +00:00
open_cgi_endpoint() strrchr fix
This commit is contained in:
1 parent
d5004cb7eb
commit
eea1680cf9
1 file changed
+2
-1
+2
-1
@@ -1811,7 +1811,8 @@ static const char cgi_status[] = "HTTP/1.1 200 OK\r\n";
|
||||
|
||||
static void open_cgi_endpoint(struct connection *conn, const char *prog) {
|
||||
struct cgi_env_block blk;
|
||||
char dir[MAX_PATH_SIZE], *p;
|
||||
char dir[MAX_PATH_SIZE];
|
||||
const char *p;
|
||||
sock_t fds[2];
|
||||
|
||||
prepare_cgi_environment(conn, prog, &blk);
|
||||
|
||||
Reference in new issue
Block a user