about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--resolv/res_send.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ec948cbeb..ee88fccdcb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
+
+	* resolv/res_send.c (res_send): Fix typo.
+
 1998-06-25  Andi Kleen <ak@muc.de>
 
 	* inet/rcmd.c (rcmd): Change to use __poll instead of select.
diff --git a/resolv/res_send.c b/resolv/res_send.c
index 38e1e05b60..0c784688ac 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -511,7 +511,7 @@ read_len:
 			 * Use datagrams.
 			 */
 			int timeout;
-			fd_set dsmask;
+			struct pollfd pfd[1];
 			struct sockaddr_in from;
 			socklen_t fromlen;