diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-07-07 17:31:57 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-07-07 17:31:57 +0000 |
commit | 9846de1bb5d61521885ef51fa6b99121ec1be577 (patch) | |
tree | 56c938421752cf160876766aaee7e729a8e47050 /sim/common/dv-sockser.c | |
parent | f04894943e847e4c9dec6a7a73b9e03a3c0aa90a (diff) | |
download | gdb-9846de1bb5d61521885ef51fa6b99121ec1be577.zip gdb-9846de1bb5d61521885ef51fa6b99121ec1be577.tar.gz gdb-9846de1bb5d61521885ef51fa6b99121ec1be577.tar.bz2 |
import gdb-1999-07-07 pre reformat
Diffstat (limited to 'sim/common/dv-sockser.c')
-rw-r--r-- | sim/common/dv-sockser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/dv-sockser.c b/sim/common/dv-sockser.c index c95288c..fb457d4 100644 --- a/sim/common/dv-sockser.c +++ b/sim/common/dv-sockser.c @@ -268,6 +268,7 @@ connected_p (SIM_DESC sd) if (numfds <= 0) return 0; + addrlen = sizeof (sockaddr); sockser_fd = accept (sockser_listen_fd, &sockaddr, &addrlen); if (sockser_fd < 0) return 0; |