瀏覽代碼

Rewrite request parsing (Step 26/?)

bel2125 8 年之前
父節點
當前提交
2295f625ec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

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