1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

Rewrite string handling (Step 10/?)

This commit is contained in:
bel
2015-07-27 23:06:49 +02:00
parent e41fb47332
commit 3eacf14e5c

View File

@@ -5934,7 +5934,7 @@ forward_body_data(struct mg_connection *conn, FILE *fp, SOCKET sock, SSL *ssl)
struct cgi_env_block {
struct mg_connection *conn;
char buf[CGI_ENVIRONMENT_SIZE]; /* Environment buffer */
unsigned int len; /* Space taken */
size_t len; /* Space taken */
char *vars[MAX_CGI_ENVIR_VARS]; /* char **envp */
unsigned int nvars; /* Number of variables */
};