aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-tcp.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1995-06-08 22:45:47 +0000
committerStu Grossman <grossman@cygnus>1995-06-08 22:45:47 +0000
commit5bdf05c7858b4c4693965f03e63a4267836db37b (patch)
tree73153b341bf49ca687ed6c4154d696d64fb2c541 /gdb/ser-tcp.c
parent4887063b3ce78e39fac8a79d01fa01234ab95174 (diff)
downloadgdb-5bdf05c7858b4c4693965f03e63a4267836db37b.zip
gdb-5bdf05c7858b4c4693965f03e63a4267836db37b.tar.gz
gdb-5bdf05c7858b4c4693965f03e63a4267836db37b.tar.bz2
typo in tcp_open
Diffstat (limited to 'gdb/ser-tcp.c')
-rw-r--r--gdb/ser-tcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index 288ccb7..2483ccc 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -59,6 +59,7 @@ tcp_open(scb, name)
int tmp;
char hostname[100];
struct protoent *protoent;
+ int i;
port_str = strchr (name, ':');