aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-04-02 16:19:45 +0200
committerAndreas Schneider <asn@cryptomilk.org>2015-04-02 16:19:45 +0200
commit53586ed4ba43225e140791812074e4b21d7b2726 (patch)
tree2d109a8058203245f4031ef1c91f60aed959fab1 /include
parent5236358a48c28710545f86ab3c4c346bb05140e8 (diff)
downloadlibssh-53586ed4ba43225e140791812074e4b21d7b2726.tar.gz
libssh-53586ed4ba43225e140791812074e4b21d7b2726.tar.xz
libssh-53586ed4ba43225e140791812074e4b21d7b2726.zip
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 <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/messages.h4
1 files changed, 2 insertions, 2 deletions
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;
};