Explorar o código

Revert "modules/websocket: b/f defined missing ws_keepalive_mechanism variable"

This reverts commit caf4769ec0f243df71e79ee3c0781afbe5884bac.
Peter Dunkley %!s(int64=12) %!d(string=hai) anos
pai
achega
52741b4c70
Modificáronse 2 ficheiros con 0 adicións e 3 borrados
  1. 0 2
      modules/websocket/ws_mod.c
  2. 0 1
      modules/websocket/ws_mod.h

+ 0 - 2
modules/websocket/ws_mod.c

@@ -50,8 +50,6 @@ static void destroy(void);
 
 sl_api_t ws_slb;
 
-int ws_keepalive_mechanism = KEEPALIVE_MECHANISM_PING;
-
 #define DEFAULT_KEEPALIVE_INTERVAL	1
 static int ws_keepalive_interval = DEFAULT_KEEPALIVE_INTERVAL;
 

+ 0 - 1
modules/websocket/ws_mod.h

@@ -37,7 +37,6 @@ enum
 extern sl_api_t ws_slb;
 extern gen_lock_t *ws_stats_lock;
 
-extern int ws_keepalive_mechanism;
 extern int ws_ping_interval;	/* time (in seconds) between sending Pings */
 
 #endif /* _WS_MOD_H */