From 433a942bc301565411fe199ceee9979c3d210f88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 7 Feb 2014 05:35:24 +0100 Subject: [PATCH] qrexec: register callback for qrexec-lib Now qrexec-lib do not use exported symbols of particular names, but explicitly registered callbacks. --- qrexec/qrexec-client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qrexec/qrexec-client.c b/qrexec/qrexec-client.c index ef04e19..38fb57f 100644 --- a/qrexec/qrexec-client.c +++ b/qrexec/qrexec-client.c @@ -273,6 +273,8 @@ int main(int argc, char **argv) if (optind >= argc || !domname) usage(argv[0]); + register_exec_func(&do_exec); + s = connect_unix_socket(domname); setenv("QREXEC_REMOTE_DOMAIN", domname, 1); prepare_local_fds(local_cmdline);