From 11c621b5ee1a0cdc27610f8b172017764acc285e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 5 Aug 2009 14:11:12 -0400 Subject: Simplify interfaces initialization Make as much as possible static, and remove use of talloc_reference and allocation/deallocation of memory when not necessary. Fix also responder use of rctx->conn, was mistakenly used for both monitor and dp connections. --- server/sbus/sbus_client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/sbus/sbus_client.h') diff --git a/server/sbus/sbus_client.h b/server/sbus/sbus_client.h index bce8f821..742f8a10 100644 --- a/server/sbus/sbus_client.h +++ b/server/sbus/sbus_client.h @@ -28,7 +28,7 @@ int sbus_client_init(TALLOC_CTX *mem_ctx, struct tevent_context *ev, const char *server_address, - struct sbus_method_ctx *sm_ctx, + struct sbus_interface *intf, struct sbus_connection **_conn, sbus_conn_destructor_fn destructor, void *conn_pvt_data); -- cgit