kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 67efb9b04a099476d8135591b1407b4e17549b9a
parent 2ee72657e1fb484ff09717aa67a76a020bed2c1b
Author: Joris Vink <joris@coders.se>
Date:   Mon, 19 Jan 2015 15:31:36 +0100

better brackets around some if statements.

Diffstat:
src/linux.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/linux.c b/src/linux.c @@ -87,8 +87,9 @@ kore_platform_event_wait(u_int64_t timer) fatal("epoll_wait(): %s", errno_s); } - if (n > 0) + if (n > 0) { kore_debug("main(): %d sockets available", n); + } r = 0; for (i = 0; i < n; i++) { @@ -235,6 +236,7 @@ kore_platform_disable_accept(void) void kore_platform_proctitle(char *title) { - if (prctl(PR_SET_NAME, title) == -1) + if (prctl(PR_SET_NAME, title) == -1) { kore_debug("prctl(): %s", errno_s); + } }