From 53586ed4ba43225e140791812074e4b21d7b2726 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 2 Apr 2015 16:19:45 +0200 Subject: include: Do not make x11 variables const We allocate them and also free them after the callback has been executed. Signed-off-by: Andreas Schneider --- include/libssh/messages.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/libssh') diff --git a/include/libssh/messages.h b/include/libssh/messages.h index e766d08b..4467902a 100644 --- a/include/libssh/messages.h +++ b/include/libssh/messages.h @@ -76,8 +76,8 @@ struct ssh_channel_request { /* X11 */ uint8_t x11_single_connection; - const char *x11_auth_protocol; - const char *x11_auth_cookie; + char *x11_auth_protocol; + char *x11_auth_cookie; uint32_t x11_screen_number; }; -- cgit