static void destroy(void) { if (log_extra) destroy_extras( log_extra); #ifdef SQL_ACC acc_db_close(); if (db_extra) destroy_extras( db_extra); #endif #ifdef DIAM_ACC close_tcp_connection(sockfd); if (dia_extra) destroy_extras( dia_extra); #endif }
static void destroy(void) { close_tcp_connection(sockfd); }
static void destroy(void) { close_tcp_connection(sockfd); if (diameter_extra) diam_destroy_extras(diameter_extra); }