style cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25175 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2008-04-26 11:41:05 +00:00
parent 3bfa2d1223
commit d6e065401f
2 changed files with 3 additions and 3 deletions

View File

@ -171,7 +171,7 @@ struct utsname {
int uname(struct utsname *name);
_EXPORT int uname(struct utsname *name)
{
if(!name)
if (!name)
return B_ERROR;
strcpy(name->sysname, "BeOS");

View File

@ -77,9 +77,9 @@ _EXPORT int socket(int family, int type, int protocol)
/* also convert AF_INET */
if (family == 1)
family = AF_INET;
} else if(type == SOCK_DGRAM)
} else if (type == SOCK_DGRAM)
type = SOCK_NATIVE_DGRAM;
else if(type == SOCK_STREAM)
else if (type == SOCK_STREAM)
type = SOCK_NATIVE_STREAM;
args.u.socket.family = family;