]> granicus.if.org Git - curl/commitdiff
removed gcc -Wshadow warning
authorDaniel Stenberg <daniel@haxx.se>
Sat, 18 Oct 2003 20:24:54 +0000 (20:24 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 18 Oct 2003 20:24:54 +0000 (20:24 +0000)
lib/telnet.c

index 64715b0ddae76d66af60581ed4109fc8315fcb06..90f96d1ff4b2628c751605b27e56e0b655eb5504 100644 (file)
@@ -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)
     {