diff options
| author | Quentin Young <qlyoung@nvidia.com> | 2021-12-06 00:06:23 -0500 |
|---|---|---|
| committer | Quentin Young <qlyoung@nvidia.com> | 2021-12-06 00:09:13 -0500 |
| commit | b8cc7b6276f207312fe4e2527511cae9696a9184 (patch) | |
| tree | 35eb51898002c3c0cf30f8c774867c6d5ff63f2a /pceplib/test/pcep_session_logic_loop_test.c | |
| parent | 2e38d79e646a2e37af717ed5e3a3b5365501fbc8 (diff) | |
pceplib: fix style issues
run clang-format
run clang-format
run clang-format
run clang-format
run clang-format
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'pceplib/test/pcep_session_logic_loop_test.c')
| -rw-r--r-- | pceplib/test/pcep_session_logic_loop_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pceplib/test/pcep_session_logic_loop_test.c b/pceplib/test/pcep_session_logic_loop_test.c index 96beceac59..7a42715283 100644 --- a/pceplib/test/pcep_session_logic_loop_test.c +++ b/pceplib/test/pcep_session_logic_loop_test.c @@ -140,14 +140,14 @@ void test_session_logic_msg_ready_handler() /* Read from an empty file should return 0, thus * session_logic_msg_ready_handler returns -1 */ mode_t oldumask; - oldumask = umask(S_IXUSR|S_IXGRP|S_IWOTH|S_IROTH|S_IXOTH); + oldumask = umask(S_IXUSR | S_IXGRP | S_IWOTH | S_IROTH | S_IXOTH); /* Set umask before anything for security */ umask(0027); char tmpfile[] = "/tmp/pceplib_XXXXXX"; int fd = mkstemp(tmpfile); umask(oldumask); - if (fd == -1){ - CU_ASSERT_TRUE(fd>=0); + if (fd == -1) { + CU_ASSERT_TRUE(fd >= 0); return; } pcep_session session; |
