[Asterisk-Dev] ast_strlen_zero or ast_empty_string() ?

Kevin P. Fleming kpfleming at digium.com
Wed May 4 07:58:40 MST 2005


Luigi Rizzo wrote:

> I believe it would be strongly advisable to replace ast_strlen_zero() with
> 
>         int ast_empty_string(const char *s)
>         {
>                 return s == NULL || *s == '\0';
>         }

I'd be willing to merge patches with that change in them, sure.



More information about the asterisk-dev mailing list