Hi,

I've been playing with the m-server functions and I have a small suggestion for 
improvement.

Extend the server block in the configuration file to add a new string field 
"ident". When the the mu_ip_server_t is created from this block, the value of 
this field is passed to the mu_ip_server_set_ident function.

If you enable debugging for the ip_server, then the logged message would 
contain this new string rather than "default" which might make it easier to 
debug m-server programs, especially if several servers are running.

I guess all that would be needed would be to add a char* to the m_srv_config 
structure, extend server_cfg_param array, and finally add a call to 
mu_ip_server_set_ident function in the server_section_parser function in the 
"case mu_cfg_section_end" part of the code.

Does anyone else think its a good idea? 


If we think it is a good idea and if it is as easy as what I think it is then I 
do not mind having a go and I'll post the diff to the list.

Andy

_________________________________________________________________
Get the best of MSN on your mobile
http://clk.atdmt.com/UKM/go/147991039/direct/01/
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to