diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-05-10 19:23:12 +0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-05-10 19:23:12 +0400 |
commit | 731f81cbed87db586474582bae1236853abc22ef (patch) | |
tree | a02c40442924418ee7b6545b415d1cdfb2c86a82 /networking/telnetd.c | |
parent | eba32f429b741111d763ca099f4171b3cef3c583 (diff) |
whitespace between if and (
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r-- | networking/telnetd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c index 1a53c0c0c..534af96ad 100644 --- a/networking/telnetd.c +++ b/networking/telnetd.c @@ -354,7 +354,7 @@ free_session(struct tsession *ts) struct tsession *t = sessions; /* Unlink this telnet session from the session list. */ - if(t == ts) + if (t == ts) sessions = ts->next; else { while(t->next != ts) @@ -369,9 +369,9 @@ free_session(struct tsession *ts) close(ts->ptyfd); close(ts->sockfd); - if(ts->ptyfd == maxfd || ts->sockfd == maxfd) + if (ts->ptyfd == maxfd || ts->sockfd == maxfd) maxfd--; - if(ts->ptyfd == maxfd || ts->sockfd == maxfd) + if (ts->ptyfd == maxfd || ts->sockfd == maxfd) maxfd--; free(ts); @@ -620,9 +620,9 @@ telnetd_main(int argc, char **argv) continue; } #endif /* CONFIG_FEATURE_TELNETD_INETD */ - if(!*(ts->buf1 + ts->rdidx1 + r - 1)) { + if (!*(ts->buf1 + ts->rdidx1 + r - 1)) { r--; - if(!r) + if (!r) continue; } ts->rdidx1 += r; |