summaryrefslogtreecommitdiff
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/imap.c b/imap.c
index 295cfbd..8083217 100644
--- a/imap.c
+++ b/imap.c
@@ -12,15 +12,13 @@
#define MAX_EVENTS 64
#define BUFFER_SIZE 1024
-void
-set_nonblocking(int32_t fd)
+void set_nonblocking(int32_t fd)
{
int32_t flags = fcntl(fd, F_GETFL, 0);
fcntl(fd, F_SETFL, flags | O_NONBLOCK);
}
-int32_t
-main(void)
+int32_t main(void)
{
int32_t server_fd = socket(AF_INET, SOCK_STREAM, 0);
int32_t opt = 1;