mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
08a006d08a
'__' instead.
12 lines
277 B
C
12 lines
277 B
C
--- base/socket.c.orig Tue Jan 18 11:08:02 2005
|
|
+++ base/socket.c Tue Jan 18 11:10:08 2005
|
|
@@ -126,7 +126,7 @@
|
|
|
|
i = 0;
|
|
pi = buffer;
|
|
- while (TRUE) {
|
|
+ while (read_count < STRING_BUFSIZE - 1) {
|
|
retval = read(sockfd, pi, 1);
|
|
if(retval < 0)
|
|
ui_socket_error(errno);
|