Selaa lähdekoodia

Rewrite request parsing (Step 26/?)

bel2125 8 vuotta sitten
vanhempi
commit
2295f625ec
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -14900,7 +14900,7 @@ mg_connect_websocket_client(const char *host,
 	                   origin);
 
 	/* Connection object will be null if something goes wrong */
-	if (con == NULL) {
+    if (conn == NULL) {
 		if (!*error_buffer) {
 			/* There should be already an error message */
 			mg_snprintf(conn,