Missed an improvement Hugo sent me a bit later.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20497 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2007-04-01 12:24:44 +00:00
parent f18d4e1e45
commit b6d25ffbd2

View File

@ -50,7 +50,9 @@ class UserRouteBuffer {
{
sockaddr *target = (sockaddr *)fBuffer;
if (source == NULL || (fStatus = _Copy(source)) != B_OK)
if (fStatus != B_OK
|| source == NULL
|| (fStatus = _Copy(source)) != B_OK)
return NULL;
return target;