diff options
author | Tobias Junghans <tobydox@veyon.io> | 2018-11-06 10:36:36 +0100 |
---|---|---|
committer | Tobias Junghans <tobydox@veyon.io> | 2018-11-06 10:36:36 +0100 |
commit | 9f5116eb538491c181bfd845efe9333ef5b5376d (patch) | |
tree | a129ca2dfc83c82250f33571ec3dca3b6e9d2679 /libvncclient/tls_none.c | |
parent | 66ead2a7f23a30b4f441c18f5d884ea398055391 (diff) | |
download | libtdevnc-9f5116eb538491c181bfd845efe9333ef5b5376d.tar.gz libtdevnc-9f5116eb538491c181bfd845efe9333ef5b5376d.zip |
LibVNCClient: pass buffer as const to WriteToTLS()
Diffstat (limited to 'libvncclient/tls_none.c')
-rw-r--r-- | libvncclient/tls_none.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/tls_none.c b/libvncclient/tls_none.c index 4dfcb27..d436ce9 100644 --- a/libvncclient/tls_none.c +++ b/libvncclient/tls_none.c @@ -43,7 +43,7 @@ int ReadFromTLS(rfbClient* client, char *out, unsigned int n) } -int WriteToTLS(rfbClient* client, char *buf, unsigned int n) +int WriteToTLS(rfbClient* client, const char *buf, unsigned int n) { rfbClientLog("TLS is not supported.\n"); errno = EINTR; |