[PATCH] Regexp filter mechanism for browse list

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Jun 11 08:17:33 GMT 2007


On Mon, Jun 11, 2007 at 10:00:50AM +0200, Moritz Mühlenhoff wrote:
> regexp(3) is POSIX, so I included it unconditionally in includes.h. If you 
> need additional changes or prefer a different configuration item name or  
> other stylistic changes, please tell.

I'd rather go with early returns or a "goto done" in case
you filter out a host instead of nested if's and duplicating
the core code you are filtering.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070611/c775a742/attachment.bin


More information about the samba-technical mailing list