summaryrefslogtreecommitdiff
path: root/usr/src/stand/lib/sock/socket.c
diff options
context:
space:
mode:
authorjk115741 <none@none>2005-09-14 06:28:21 -0700
committerjk115741 <none@none>2005-09-14 06:28:21 -0700
commit17b4fe081bdfe52afd00e7d2cfb71381e01e64b3 (patch)
tree28c019384e4185c273423839cc988c65b702b18a /usr/src/stand/lib/sock/socket.c
parentdb397771158a0b9b33b5ab2dee8593e03ee5e994 (diff)
downloadillumos-joyent-17b4fe081bdfe52afd00e7d2cfb71381e01e64b3.tar.gz
6231877 WANBoot client hangs if http server is stopped (fix lint)
Diffstat (limited to 'usr/src/stand/lib/sock/socket.c')
-rw-r--r--usr/src/stand/lib/sock/socket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/src/stand/lib/sock/socket.c b/usr/src/stand/lib/sock/socket.c
index 0e347cfbf8..9d80b3a738 100644
--- a/usr/src/stand/lib/sock/socket.c
+++ b/usr/src/stand/lib/sock/socket.c
@@ -518,8 +518,6 @@ socket_read(int s, void *buf, size_t nbyte, int read_timeout)
{
ssize_t n;
uint_t start, diff;
- struct sockaddr from;
- uint_t fromlen = sizeof (from);
/*
* keep calling non-blocking recvfrom until something received