Changeset 223 for branches/samba-3.3.x/source/libsmb/clitrans.c
- Timestamp:
- May 24, 2009, 7:51:24 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/libsmb/clitrans.c
r206 r223 113 113 this_ldata = MIN(ldata-tot_data,cli->max_xmit - (500+this_lparam)); 114 114 115 client_set_trans_sign_state_off(cli, mid);116 client_set_trans_sign_state_on(cli, mid);117 118 115 cli_set_message(cli->outbuf,trans==SMBtrans?8:9,0,True); 119 116 SCVAL(cli->outbuf,smb_com,(trans==SMBtrans ? SMBtranss : SMBtranss2)); … … 139 136 cli_setup_bcc(cli, outdata+this_ldata); 140 137 141 /*142 * Save the mid we're using. We need this for finding143 * signing replies.144 */145 mid = cli->mid;146 147 138 show_msg(cli->outbuf); 139 140 client_set_trans_sign_state_off(cli, mid); 141 cli->mid = mid; 148 142 if (!cli_send_smb(cli)) { 149 client_set_trans_sign_state_off(cli, mid);150 143 return False; 151 144 } 152 153 /* Ensure we use the same mid for the secondaries. */ 154 cli->mid = mid; 145 client_set_trans_sign_state_on(cli, mid); 155 146 156 147 tot_data += this_ldata; … … 462 453 cli_setup_bcc(cli, outdata+this_ldata); 463 454 464 /*465 * Save the mid we're using. We need this for finding466 * signing replies.467 */468 mid = cli->mid;469 470 455 show_msg(cli->outbuf); 471 456 457 client_set_trans_sign_state_off(cli, mid); 458 cli->mid = mid; 472 459 if (!cli_send_smb(cli)) { 473 client_set_trans_sign_state_off(cli, mid);474 460 return False; 475 461 } 476 477 /* Ensure we use the same mid for the secondaries. */ 478 cli->mid = mid; 462 client_set_trans_sign_state_on(cli, mid); 479 463 480 464 tot_data += this_ldata;
Note:
See TracChangeset
for help on using the changeset viewer.