2
0
Эх сурвалжийг харах

websocket: put the ws connection after keepalive

- c&p error of last commits resulted in doing get op instead
Daniel-Constantin Mierla 6 жил өмнө
parent
commit
a975bca170

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

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