unix: fix indentation in sunos.c

This commit is contained in:
Ben Noordhuis 2012-05-28 22:03:41 +00:00 committed by Bert Belder
parent 81aff93633
commit 18e622d43e

View File

@ -180,10 +180,10 @@ int uv_fs_event_init(uv_loop_t* loop,
/* We don't support any flags yet. */
assert(!flags);
if (loop->fs_fd == -1) {
if ((portfd = port_create()) == -1) {
uv__set_sys_error(loop, errno);
return -1;
}
if ((portfd = port_create()) == -1) {
uv__set_sys_error(loop, errno);
return -1;
}
loop->fs_fd = portfd;
first_run = 1;
}