aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-10-18 20:24:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-10-18 20:24:54 +0000
commit7ad69f59c74dfe9aac6e6114df6bbce48625317f (patch)
treeb267797a88924811cb1f9049e2467e39896d5672
parent83b82e4472f94cc3f5f9972a846f820900a45ef0 (diff)
removed gcc -Wshadow warning
-rw-r--r--lib/telnet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/telnet.c b/lib/telnet.c
index 64715b0dd..90f96d1ff 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -870,13 +870,13 @@ void telrcv(struct connectdata *conn,
int count) /* Number of bytes received */
{
unsigned char c;
- int index = 0;
+ int in = 0;
struct SessionHandle *data = conn->data;
struct TELNET *tn = (struct TELNET *)conn->proto.telnet;
while(count--)
{
- c = inbuf[index++];
+ c = inbuf[in++];
switch (tn->telrcv_state)
{