Wouter,

>>                client->net = net;
>>                client->modern = TRUE;
>> -                free(name);
>> -                return client;
>> +                break;
> 
> You've removed a return statement here. Are you sure that's not the
> problem?

Any NULL return causes the SEGV. I don't think you want to return here, or if 
you have found the server, you don't send the flags and the 124 bytes of zeroes 
(the bit marked "common"), etc.

-- 
Alex Bligh
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to