Skip to content

Commit 2494259

Browse files
committed
remove duplicate include
1 parent 1393b13 commit 2494259

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

kirc.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include <unistd.h>
77
#include <stdlib.h>
88
#include <string.h>
9-
#include <netdb.h>
109
#include <fcntl.h>
1110
#include <sys/select.h>
1211
#include <sys/wait.h>
@@ -116,10 +115,9 @@ pars(int sl, char *buf)
116115
{
117116
char buf_c[BUFF + 1], ltr[200], cha[200], nic[200], hos[200], \
118117
usr[200], cmd[200], msg[200], pre[200];
119-
int i = 0;
120118
int o = -1;
121119

122-
for (i = 0; i < sl; i++)
120+
for (int i = 0; i < sl; i++)
123121
{
124122
o++;
125123
buf_c[o] = buf[i];

0 commit comments

Comments
 (0)