s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
[ab/samba.git/.git] / source4 / smb_server / smb2 / receive.c
index 26995b71ec4cd602e81bcf21c6607cc36a36bf3f..40a57b88f1db4d2eca20e174ecc8e9025867bd10 100644 (file)
@@ -659,7 +659,7 @@ NTSTATUS smbsrv_init_smb2_connection(struct smbsrv_connection *smb_conn)
 
        /* this is the size that w2k uses, and it appears to be important for
           good performance */
-       smb_conn->negotiate.max_recv = lp_max_xmit(smb_conn->lp_ctx);
+       smb_conn->negotiate.max_recv = lpcfg_max_xmit(smb_conn->lp_ctx);
 
        smb_conn->negotiate.zone_offset = get_time_zone(time(NULL));