const issues
authorLuke Leighton <lkcl@samba.org>
Thu, 14 Oct 1999 19:45:52 +0000 (19:45 +0000)
committerLuke Leighton <lkcl@samba.org>
Thu, 14 Oct 1999 19:45:52 +0000 (19:45 +0000)
(This used to be commit 858f79b362dce8aa06013533209bc982cb99d33d)

source3/libsmb/clientgen.c

index 8db5bd6e0080938ea8c7bf8fd6cdd905a1d44a5c..f50cd19c38cc56556bb9b7272f4c9478f0340ea2 100644 (file)
@@ -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);