diff options
| author | Stefan Metzmacher <metze@samba.org> | 2013-11-20 09:56:19 +0100 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-03-05 13:59:20 -0800 |
| commit | ec498a2414d96567bfed26f35b60ebe1ac40c68b (patch) | |
| tree | e3bfebc069c2dfb6a1613889c06257c121084a98 /python/examples/samr.py | |
| parent | 66877dfaa59561145eba6233dc1f43c282d8cd08 (diff) | |
| download | samba-ec498a2414d96567bfed26f35b60ebe1ac40c68b.tar.gz samba-ec498a2414d96567bfed26f35b60ebe1ac40c68b.tar.xz samba-ec498a2414d96567bfed26f35b60ebe1ac40c68b.zip | |
s3:smb2_server: optimize smbd_smb2_request_setup_out()
We can use a preallocated buffer for the possible error
response of the first response in the compound chain.
This avoids a talloc_array_zero() call for the common case.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'python/examples/samr.py')
0 files changed, 0 insertions, 0 deletions
