From 3fafd0ccefa286fa1b8c3e53e9e835a84d8c9861 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Mon, 13 Jul 2020 18:14:42 +0200 Subject: tomsg_clientlib: Let async event nullify take event by value --- ssh/tomsg_clientlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssh/tomsg_clientlib.h') diff --git a/ssh/tomsg_clientlib.h b/ssh/tomsg_clientlib.h index e8cb3a7..ab1bde5 100644 --- a/ssh/tomsg_clientlib.h +++ b/ssh/tomsg_clientlib.h @@ -81,7 +81,7 @@ struct tomsg_async_connect_event { }; }; -void tomsg_async_connect_event_nullify(struct tomsg_async_connect_event *event); +void tomsg_async_connect_event_nullify(struct tomsg_async_connect_event event); // Will return TOMSG_ERR_AGAIN if no events are available at present. In that // case, use poll(2) on the file descriptor from tomsg_async_connect_poll_fd(). -- cgit v1.2.3-54-g00ecf