[Serdev] CVS:commitlog: sip_router/modules/gflags gflags.c

Michal Matyska michal at iptel.org
Sun Dec 10 21:14:03 UTC 2006


Andrei,

what do you think about the idea to shortly reopen the SER-189 and
change the code in modules/gflags/gflags.c to this:

static void mod_destroy(void)
{
	if (avps_1 != 0) {
		destroy_avp_list(&avps_1);
	}
	if (avps_2 != 0) {
		destroy_avp_list(&avps_2);
	}
	active_global_avps = 0;
}



I feel this way it is much more readable and understandable.
Michal

On Thu, 2006-12-07 at 15:46 +0100, Andrei Pelinescu-Onciul wrote:
> andrei      2006/12/07 15:46:51 CET
> 
>   SER CVS Repository
> 
>   Modified files:
>     modules/gflags       gflags.c 
>   Log:
>    - gflags mod_destroy fix, closes SER-189
>   
>   Revision  Changes    Path
>   1.18      +5 -3      sip_router/modules/gflags/gflags.c
> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/gflags/gflags.c.diff?r1=1.17&r2=1.18
> _______________________________________________
> Serdev mailing list
> Serdev at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serdev



More information about the Serdev mailing list