|  | @@ -17094,7 +17094,7 @@ mg_get_connection_info_impl(const struct mg_context *ctx,
 | 
											
												
													
														|  |  	const struct mg_request_info *ri;
 |  |  	const struct mg_request_info *ri;
 | 
											
												
													
														|  |  	char block[256];
 |  |  	char block[256];
 | 
											
												
													
														|  |  	int connection_info_length = 0;
 |  |  	int connection_info_length = 0;
 | 
											
												
													
														|  | -	int state;
 |  | 
 | 
											
												
													
														|  | 
 |  | +	int state = 0;
 | 
											
												
													
														|  |  	const char *state_str = "unknown";
 |  |  	const char *state_str = "unknown";
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  #if defined(_WIN32)
 |  |  #if defined(_WIN32)
 | 
											
										
											
												
													
														|  | @@ -17132,11 +17132,12 @@ mg_get_connection_info_impl(const struct mg_context *ctx,
 | 
											
												
													
														|  |  	}
 |  |  	}
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  	/* Init variables */
 |  |  	/* Init variables */
 | 
											
												
													
														|  | -	state = conn->conn_state;
 |  | 
 | 
											
												
													
														|  |  	ri = &(conn->request_info);
 |  |  	ri = &(conn->request_info);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -/* State as string */
 |  | 
 | 
											
												
													
														|  |  #if defined(USE_SERVER_STATS)
 |  |  #if defined(USE_SERVER_STATS)
 | 
											
												
													
														|  | 
 |  | +	state = conn->conn_state;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +	/* State as string */
 | 
											
												
													
														|  |  	switch (state) {
 |  |  	switch (state) {
 | 
											
												
													
														|  |  	case 0:
 |  |  	case 0:
 | 
											
												
													
														|  |  		state_str = "undefined";
 |  |  		state_str = "undefined";
 |