reduce indent level

This commit is contained in:
Sebastian Dransfeld 2013-12-07 21:33:16 +01:00
parent 05f00710f2
commit 0e5e0ec218
1 changed files with 10 additions and 11 deletions

View File

@ -82,8 +82,8 @@ e_ipc_init(void)
base, user, id1); base, user, id1);
if (mkdir(buf, S_IRWXU) < 0) if (mkdir(buf, S_IRWXU) < 0)
goto retry; goto retry;
if (stat(buf, &st) == 0) if (stat(buf, &st) < 0)
{ goto retry;
if ((st.st_uid == getuid()) && if ((st.st_uid == getuid()) &&
((st.st_mode & (S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO)) == ((st.st_mode & (S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO)) ==
(S_IRWXU | S_IFDIR))) (S_IRWXU | S_IFDIR)))
@ -94,7 +94,6 @@ e_ipc_init(void)
(ECORE_IPC_LOCAL_SYSTEM, buf3, 0, NULL); (ECORE_IPC_LOCAL_SYSTEM, buf3, 0, NULL);
if (_e_ipc_server) break; if (_e_ipc_server) break;
} }
}
retry: retry:
id1 = rand(); id1 = rand();
} }