git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab10b5
)
libsmb: A bit README.Coding for cli_qpathinfo2()
author
Volker Lendecke
<vl@samba.org>
Wed, 5 Jul 2023 09:58:39 +0000
(11:58 +0200)
committer
Jeremy Allison
<jra@samba.org>
Mon, 14 Aug 2023 19:53:37 +0000
(19:53 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/clirap.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clirap.c
b/source3/libsmb/clirap.c
index 50be489d5a5f7cea3bba37bc4bc4b3667334c8d3..25edd21771591cbe38618cf5297633252ef1c814 100644
(file)
--- a/
source3/libsmb/clirap.c
+++ b/
source3/libsmb/clirap.c
@@
-1059,13
+1059,11
@@
NTSTATUS cli_qpathinfo2(struct cli_state *cli, const char *fname,
off_t *size, uint32_t *pattr,
SMB_INO_T *ino)
{
- TALLOC_CTX *frame =
NULL
;
- struct tevent_context *ev;
- struct tevent_req *req;
+ TALLOC_CTX *frame =
talloc_stackframe()
;
+ struct tevent_context *ev
= NULL
;
+ struct tevent_req *req
= NULL
;
NTSTATUS status = NT_STATUS_NO_MEMORY;
- frame = talloc_stackframe();
-
if (smbXcli_conn_has_async_calls(cli->conn)) {
/*
* Can't use sync call while an async call is in flight