gethostbyname call with 0 length arg

Phil Goss pagoss at gmail.com
Fri Feb 3 17:59:02 CST 2006


This is what seems to have worked for me

if(!name || !strlen(name)) {


On Fri, 03 Feb 2006 19:23:22 +0100, Christer Palm <palm at nogui.se> wrote:

> Detlef Riekenberg wrote:
>>  if((!name) && (name[0])) {
>>
>
> Do you really mean that?
> "if name is 0, then dereference name"?
>
> --
> Christer Palm
>
>
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the wine-devel mailing list