Changeset 124 for branches/samba-3.0/source/libsmb/clitrans.c
- Timestamp:
- Mar 12, 2008, 9:08:18 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/libsmb/clitrans.c
r39 r124 96 96 } 97 97 98 /* Note we're in a trans state. Save the sequence99 * numbers for replies. */100 client_set_trans_sign_state_on(cli, mid);101 102 98 if (this_ldata < ldata || this_lparam < lparam) { 103 99 /* receive interim response */ 104 100 if (!cli_receive_smb(cli) || cli_is_error(cli)) { 105 client_set_trans_sign_state_off(cli, mid);106 101 return(False); 107 102 } … … 145 140 show_msg(cli->outbuf); 146 141 if (!cli_send_smb(cli)) { 147 client_set_trans_sign_state_off(cli, mid);148 142 return False; 149 143 } … … 324 318 out: 325 319 326 client_set_trans_sign_state_off(cli, SVAL(cli->inbuf,smb_mid));327 320 return ret; 328 321 } … … 392 385 } 393 386 394 /* Note we're in a trans state. Save the sequence395 * numbers for replies. */396 client_set_trans_sign_state_on(cli, mid);397 398 387 if (this_ldata < ldata || this_lparam < lparam) { 399 388 /* receive interim response */ 400 389 if (!cli_receive_smb(cli) || cli_is_error(cli)) { 401 client_set_trans_sign_state_off(cli, mid);402 390 return(False); 403 391 } … … 441 429 442 430 if (!cli_send_smb(cli)) { 443 client_set_trans_sign_state_off(cli, mid);444 431 return False; 445 432 } … … 641 628 out: 642 629 643 client_set_trans_sign_state_off(cli, SVAL(cli->inbuf,smb_mid));644 630 return ret; 645 631 }
Note:
See TracChangeset
for help on using the changeset viewer.