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:
parent
f18d4e1e45
commit
b6d25ffbd2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user