diff --git a/src/ssb.rpc.c b/src/ssb.rpc.c index 67a55124..2e077d73 100644 --- a/src/ssb.rpc.c +++ b/src/ssb.rpc.c @@ -283,15 +283,7 @@ void _tf_ssb_rpc_tunnel_callback(tf_ssb_connection_t* connection, uint8_t flags, tunnel_t* tun = user_data; if (flags & k_ssb_rpc_flag_end_error) { - tf_ssb_connection_rpc_send( - connection, - flags, - -request_number, - (const uint8_t*)"false", - strlen("false"), - NULL, - NULL, - NULL); + tf_ssb_connection_remove_request(connection, request_number); tf_ssb_connection_close(tun->connection); } else