diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-05-05 09:16:08 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-05-05 09:16:08 +0000 |
commit | c7806a6a1663eec349b9b68030338bdad0933717 (patch) | |
tree | 077eaa60629db81a50022b388780920aef775f03 /include | |
parent | fdc1073e8ade96210db688eb23748931f7235768 (diff) | |
download | libssh-c7806a6a1663eec349b9b68030338bdad0933717.tar.gz libssh-c7806a6a1663eec349b9b68030338bdad0933717.tar.xz libssh-c7806a6a1663eec349b9b68030338bdad0933717.zip |
Improve bin_to_base64() and use const for source.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@743 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 27293321..2bbe4d8a 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -647,7 +647,7 @@ u32 buffer_pass_bytes(BUFFER *buffer, u32 len); /* in base64.c */ BUFFER *base64_to_bin(const char *source); -unsigned char *bin_to_base64(unsigned char *source, int len); +unsigned char *bin_to_base64(const unsigned char *source, int len); /* gzip.c */ int compress_buffer(SSH_SESSION *session,BUFFER *buf); |