Skip to content

Commit 66fe497

Browse files
committed
remove tab chars
1 parent 9e00455 commit 66fe497

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

kirc.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,13 @@ main(int argc, char **argv) {
217217

218218
while ((sl = read(conn, &s, 1))) {
219219
if (sl > 0) b[o] = s;
220-
if ((o > 0 && b[o - 1] == '\r' && b[o] == '\n') || o == IRC_MSG_MAX) {
220+
221+
if ((o > 0 && b[o - 1] == '\r' && b[o] == '\n') || o == IRC_MSG_MAX) {
221222
b[o + 1] = '\0';
222-
parser(b);
223-
o = 0;
223+
parser(b);
224+
o = 0;
224225
}
225-
else if (sl > 0) o++;
226+
else if (sl > 0) o++;
226227
if (read(fd[0], u, IRC_MSG_MAX) > 0) {
227228
for (i = 0; u[i] != '\n'; i++) continue;
228229
if (u[0] != ':') raw("%-*.*s\r\n", i, i, u);

0 commit comments

Comments
 (0)