diff options
author | Volker Lendecke <vl@samba.org> | 2009-01-26 03:38:05 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-01-26 05:39:34 +0100 |
commit | 7f25e0da7348d786a36fa14403938b4f209fb52b (patch) | |
tree | 0f6a4c4a00e985c09fb0197d59cad1efb612caa1 /source3/libsmb/clistr.c | |
parent | 6baf760d176cc5ea8eb0cba6d68171f1950c1b75 (diff) | |
download | samba-7f25e0da7348d786a36fa14403938b4f209fb52b.tar.gz samba-7f25e0da7348d786a36fa14403938b4f209fb52b.tar.bz2 samba-7f25e0da7348d786a36fa14403938b4f209fb52b.zip |
Decouple clistr_pull from struct cli_state->inbuf
Diffstat (limited to 'source3/libsmb/clistr.c')
-rw-r--r-- | source3/libsmb/clistr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/libsmb/clistr.c b/source3/libsmb/clistr.c index 5d20d632aa..8685781404 100644 --- a/source3/libsmb/clistr.c +++ b/source3/libsmb/clistr.c @@ -51,22 +51,22 @@ size_t clistr_push_fn(const char *function, size_t clistr_pull_fn(const char *function, unsigned int line, - struct cli_state *cli, + const char *inbuf, char *dest, const void *src, int dest_len, int src_len, int flags) { - return pull_string_fn(function, line, cli->inbuf, - SVAL(cli->inbuf, smb_flg2), dest, src, dest_len, + return pull_string_fn(function, line, inbuf, + SVAL(inbuf, smb_flg2), dest, src, dest_len, src_len, flags); } size_t clistr_pull_talloc_fn(const char *function, unsigned int line, TALLOC_CTX *ctx, - struct cli_state *cli, + const char *inbuf, char **pp_dest, const void *src, int src_len, @@ -75,8 +75,8 @@ size_t clistr_pull_talloc_fn(const char *function, return pull_string_talloc_fn(function, line, ctx, - cli->inbuf, - SVAL(cli->inbuf, smb_flg2), + inbuf, + SVAL(inbuf, smb_flg2), pp_dest, src, src_len, |