whitespace between if and (

This commit is contained in:
Mike Frysinger 2006-05-10 15:23:12 +00:00
parent eba32f429b
commit 731f81cbed

View File

@ -354,7 +354,7 @@ free_session(struct tsession *ts)
struct tsession *t = sessions; struct tsession *t = sessions;
/* Unlink this telnet session from the session list. */ /* Unlink this telnet session from the session list. */
if(t == ts) if (t == ts)
sessions = ts->next; sessions = ts->next;
else { else {
while(t->next != ts) while(t->next != ts)
@ -369,9 +369,9 @@ free_session(struct tsession *ts)
close(ts->ptyfd); close(ts->ptyfd);
close(ts->sockfd); close(ts->sockfd);
if(ts->ptyfd == maxfd || ts->sockfd == maxfd) if (ts->ptyfd == maxfd || ts->sockfd == maxfd)
maxfd--; maxfd--;
if(ts->ptyfd == maxfd || ts->sockfd == maxfd) if (ts->ptyfd == maxfd || ts->sockfd == maxfd)
maxfd--; maxfd--;
free(ts); free(ts);
@ -620,9 +620,9 @@ telnetd_main(int argc, char **argv)
continue; continue;
} }
#endif /* CONFIG_FEATURE_TELNETD_INETD */ #endif /* CONFIG_FEATURE_TELNETD_INETD */
if(!*(ts->buf1 + ts->rdidx1 + r - 1)) { if (!*(ts->buf1 + ts->rdidx1 + r - 1)) {
r--; r--;
if(!r) if (!r)
continue; continue;
} }
ts->rdidx1 += r; ts->rdidx1 += r;