瀏覽代碼

websocket: put the ws connection after keepalive

- c&p error of last commits resulted in doing get op instead
Daniel-Constantin Mierla 6 年之前
父節點
當前提交
a975bca170
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/websocket/ws_frame.c

+ 1 - 1
src/modules/websocket/ws_frame.c

@@ -820,7 +820,7 @@ void ws_keepalive(unsigned int ticks, void *param)
 			}
 		}
 		if(wsc) {
-			wsconn_get(list_head[i].id);
+			wsconn_put_id(list_head[i].id);
 		}
 		i++;