git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Decouple clistr_pull from struct cli_state->inbuf
[metze/samba/wip.git]
/
source3
/
libsmb
/
clifile.c
diff --git
a/source3/libsmb/clifile.c
b/source3/libsmb/clifile.c
index ecb2bf0f5a31101b71878127794dc0bff769240a..02cd2108bf2878af1a314720bb87617fa048860d 100644
(file)
--- a/
source3/libsmb/clifile.c
+++ b/
source3/libsmb/clifile.c
@@
-1751,7
+1751,7
@@
int cli_ctemp(struct cli_state *cli, const char *path, char **tmp_path)
if (!path2) {
return -1;
}
if (!path2) {
return -1;
}
- clistr_pull(cli, path2, p,
+ clistr_pull(cli
->inbuf
, path2, p,
len+1, len, STR_ASCII);
*tmp_path = path2;
}
len+1, len, STR_ASCII);
*tmp_path = path2;
}