libcli/smb: add max_credits arg to smbXcli_negprot_send()
[kai/samba-autobuild/.git] / source4 / libcli / raw / rawnegotiate.c
index 4b42c2662a0ffd2453b65c7f25ae714022446c98..f6a189ff8d7157ad2b38c746fd8725d2ea289fb3 100644 (file)
@@ -60,7 +60,8 @@ struct tevent_req *smb_raw_negotiate_send(TALLOC_CTX *mem_ctx,
                                      transport->conn,
                                      timeout_msec,
                                      minprotocol,
-                                     maxprotocol);
+                                     maxprotocol,
+                                     transport->options.max_credits);
        if (tevent_req_nomem(subreq, req)) {
                return tevent_req_post(req, ev);
        }