[Verse-dev] Verse r3p0

Emil Brink verse-dev@blender.org
Mon, 5 Jul 2004 15:40:00 +0200 (MEST)



On Mon, 5 Jul 2004, Eskil Steenberg wrote:

> Hi
>
> I had not noticed this before but it looks like  r3 need some urgent fixes.
>
> the v_n_create_network_address now sometimes returns NULL causing verse
> to crash. because of an other bug this causing all but the first verse
> ap on any machine to crash at start up, a fix for that bug is to replace
> this function
>
> boolean v_fs_func_accept_connections()
> {
>     if(VCmdData.user_func[0] == NULL)
>         return FALSE;
>     return TRUE;
> }

I fixed that before the release, actually. The release archive should
contain the fixed version, I know CVS does. I actually had the nerve
to shorten the code too, it reads like this:

/* Do we accept incoming connections, i.e. are we a host implementation? */
boolean v_fs_func_accept_connections()
{
	return VCmdData.user_func[0] != NULL;
}

and added a comment as shown, too.

/Emil