summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-10-14 19:45:52 +0000
committerLuke Leighton <lkcl@samba.org>1999-10-14 19:45:52 +0000
commit81711b9c5aec21bfe94cbde3349268a89dac53c6 (patch)
treee75425bc60a5bdb5aa2279b2de05f25ca87e10d2 /source3/libsmb
parentdcea4bfd0fce7bced156f859c792ac51a7c0ad0b (diff)
downloadsamba-81711b9c5aec21bfe94cbde3349268a89dac53c6.tar.gz
samba-81711b9c5aec21bfe94cbde3349268a89dac53c6.tar.bz2
samba-81711b9c5aec21bfe94cbde3349268a89dac53c6.zip
const issues
(This used to be commit 858f79b362dce8aa06013533209bc982cb99d33d)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clientgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 8db5bd6e00..f50cd19c38 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -77,7 +77,7 @@ static char *cli_put_string(struct cli_state *cli, char *p, const char *str,
copy a string (unicode or otherwise) into an SMB buffer. skips a string
plus points to next
****************************************************************************/
-static const char *cli_get_string(struct cli_state *cli, const char *p,
+static const char *cli_get_string(struct cli_state *cli, char *p,
char *str, size_t str_len)
{
uint16 flgs2 = SVAL(cli->inbuf,smb_flg2);