diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/ws.c b/libs/sofia-sip/libsofia-sip-ua/tport/ws.c index f3783c024e..7fe9f182bf 100644 --- a/libs/sofia-sip/libsofia-sip-ua/tport/ws.c +++ b/libs/sofia-sip/libsofia-sip-ua/tport/ws.c @@ -547,9 +547,9 @@ static int establish_logical_layer(wsh_t *wsh) wsh->sanity--; - //if (!wsh->block) { - // return -2; - //} + if (!wsh->block) { + return -2; + } } while (wsh->sanity > 0); diff --git a/src/mod/endpoints/mod_verto/ws.c b/src/mod/endpoints/mod_verto/ws.c index 954e9f43df..265dd10d8e 100644 --- a/src/mod/endpoints/mod_verto/ws.c +++ b/src/mod/endpoints/mod_verto/ws.c @@ -547,9 +547,9 @@ static int establish_logical_layer(wsh_t *wsh) wsh->sanity--; - //if (!wsh->block) { - //return -2; - //} + if (!wsh->block) { + return -2; + } } while (wsh->sanity > 0);