s3:smb2_server: make the logic in smbd_smb2_request_verify_creditcharge() simpler
authorStefan Metzmacher <metze@samba.org>
Mon, 25 Jun 2012 21:35:46 +0000 (23:35 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Jun 2012 22:14:56 +0000 (00:14 +0200)
commit34a9892ec17a831bf785ee5c1dc4e0ab0edda0ce
treee66624decb4781269097154b50c1565d53d6cf76
parent967f2c44b3b911d151ea262b748d68654ba9e2fc
s3:smb2_server: make the logic in smbd_smb2_request_verify_creditcharge() simpler

We just need a max_charge variable to make the algorithm independent
of multi_credit support.

metze
source3/smbd/smb2_server.c