Explorar el Código

websocket: put the ws connection after keepalive

- c&p error of last commits resulted in doing get op instead
Daniel-Constantin Mierla hace 6 años
padre
commit
a975bca170
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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++;