From 006ddff6afcee281385a2944b6e34922fdce02d0 Mon Sep 17 00:00:00 2001 From: Babak Farrokhi Date: Sun, 25 Oct 2015 16:07:29 +0330 Subject: [PATCH] - fix indenting (yes, I am a freak) --- fsipd.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/fsipd.c b/fsipd.c index c8b69b2..b99f077 100644 --- a/fsipd.c +++ b/fsipd.c @@ -120,16 +120,16 @@ process_request(const struct sockaddr_in *sa, int type, char *str) char *ptype; switch (type) { - case SOCK_STREAM: - ptype = s_types[0]; - break; - case SOCK_DGRAM: - ptype = s_types[1]; - break; - case SOCK_RAW: - ptype = s_types[2]; - default: - ptype = s_types[3];; + case SOCK_STREAM: + ptype = s_types[0]; + break; + case SOCK_DGRAM: + ptype = s_types[1]; + break; + case SOCK_RAW: + ptype = s_types[2]; + default: + ptype = s_types[3];; } chomp(str); @@ -302,7 +302,7 @@ udp_handler(void *args) while (1) { if ((len = recvfrom(u_sockfd, str, sizeof(str), 0, (struct sockaddr *)&u_other, &sa_len)) > 0) { process_request(&u_other, SOCK_DGRAM, str); - } + } } return (args); /* mute the compiler warning */