aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ser-tcp.c')
-rw-r--r--gdb/ser-tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index 8e7da06..f565328 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -281,7 +281,7 @@ tcp_readchar (scb, timeout)
else if (timeout == 0)
{
- status == SERIAL_TIMEOUT;
+ status = SERIAL_TIMEOUT;
break;
}
}