mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libsmb: A bit README.Coding for cli_qpathinfo2()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
fab10b58da
commit
544c7285a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user