Browse code

websocket: debug message for rpc command when finding no tcp connection

(cherry picked from commit 4434e83db1d4b668dabbe915fe36719ede165915)

Daniel-Constantin Mierla authored on 16/09/2022 13:00:13
Showing 1 changed files
... ...
@@ -766,8 +766,10 @@ static int ws_rpc_add_node(
766 766
 
767 767
 		tcpconn_put(con);
768 768
 		return 1;
769
-	} else
769
+	} else {
770
+		LM_DBG("ws structure [%p] without an active tcp connection\n", wsc);
770 771
 		return 0;
772
+	}
771 773
 }
772 774
 
773 775
 void ws_rpc_dump(rpc_t *rpc, void *ctx)