On Tuesday 26 August 2008, Henning Westerholt wrote:
> I thought about define them in mem/mem.h:
> void pkg_mem_error();
> void shm_mem_error();

The problem with this functions is, that we loose the informations where the 
error happened, with is currently logged by the e.g. LM_ERR. This could be 
mitigated in using macros, but then we have again this string duplication in 
the code, which is not nice, hm..

Henning

_______________________________________________
Devel mailing list
[email protected]
http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel

Reply via email to