equal
deleted
inserted
replaced
408 client_requests[req] .prev_error = 0; |
408 client_requests[req] .prev_error = 0; |
409 break; |
409 break; |
410 } |
410 } |
411 } |
411 } |
412 |
412 |
413 /* Set the flag_exec_status that is mapped onto a located WORD variable, so the user program |
413 /* Set the flag_tn_error_code and flag_mb_error_code that are mapped onto |
|
414 * located BYTE variables, so the user program |
414 * knows how the communication is going. |
415 * knows how the communication is going. |
415 * This flag is an ammalgamation of the data in mb_error_code and tn_error_code |
|
416 */ |
416 */ |
417 client_requests[req].flag_exec_status = client_requests[req].tn_error_code * 256 + client_requests[req].mb_error_code; |
417 client_requests[req].flag_mb_error_code = client_requests[req].mb_error_code; |
|
418 client_requests[req].flag_tn_error_code = client_requests[req].tn_error_code; |
418 |
419 |
419 /* We have just finished excuting a client transcation request. |
420 /* We have just finished excuting a client transcation request. |
420 * If the current cycle was activated by user request we reset the flag used to ask to run it |
421 * If the current cycle was activated by user request we reset the flag used to ask to run it |
421 */ |
422 */ |
422 if (0 != client_requests[req].flag_exec_req) { |
423 if (0 != client_requests[req].flag_exec_req) { |