| 2257 | } |
| 2258 | |
| 2259 | int dm_destroy_message(aaa_conn *_, aaa_message *msg) |
| 2260 | { |
| 2261 | if (!msg) |
| 2262 | return 0; |
| 2263 | |
| 2264 | /* let the peer process be the one who cleans it up */ |
| 2265 | if (msg->last_found == DM_MSG_SENT) |
| 2266 | return 0; |
| 2267 | |
| 2268 | _dm_destroy_message(msg); |
| 2269 | return 0; |
| 2270 | } |
| 2271 | |
| 2272 | #define enc_type2func(t) ((t < AVP_ENC_TYPE_NONE)?&dict_avp_enc[t]:NULL) |
| 2273 |
nothing calls this directly
no test coverage detected