returns 1 if everything was OK or -1 for error */
| 102 | /* returns 1 if everything was OK or -1 for error |
| 103 | */ |
| 104 | int t_release_transaction( struct cell *trans ) |
| 105 | { |
| 106 | set_kr(REQ_RLSD); |
| 107 | |
| 108 | reset_timer( & trans->uas.response.fr_timer ); |
| 109 | reset_timer( & trans->uas.response.retr_timer ); |
| 110 | |
| 111 | cleanup_uac_timers( trans ); |
| 112 | |
| 113 | put_on_wait( trans ); |
| 114 | return 1; |
| 115 | } |
| 116 | |
| 117 | |
| 118 | /* -----------------------HELPER FUNCTIONS----------------------- */ |
no test coverage detected