diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2005-11-11 19:20:22 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2005-11-11 19:20:22 +0000 |
commit | ce40b8d531150debffa6ac98b8431796f2eba3df (patch) | |
tree | 9d3385b0e408494fb4db14775b3baff69627516c /ares | |
parent | 9f109b94b809bcb08e4cb5f13b79bb906f340e0e (diff) |
Detabified. Added CVS id.
Diffstat (limited to 'ares')
-rw-r--r-- | ares/ares_fds.c | 16 | ||||
-rw-r--r-- | ares/ares_gethostbyaddr.c | 2 |
2 files changed, 11 insertions, 7 deletions
diff --git a/ares/ares_fds.c b/ares/ares_fds.c index 805ce7ca6..67bf31322 100644 --- a/ares/ares_fds.c +++ b/ares/ares_fds.c @@ -1,3 +1,5 @@ +/* $Id$ */ + /* Copyright 1998 by the Massachusetts Institute of Technology. * * Permission to use, copy, modify, and distribute this @@ -44,13 +46,13 @@ int ares_fds(ares_channel channel, fd_set *read_fds, fd_set *write_fds) nfds = server->udp_socket + 1; } if (server->tcp_socket != ARES_SOCKET_BAD) - { - FD_SET(server->tcp_socket, read_fds); - if (server->qhead) - FD_SET(server->tcp_socket, write_fds); - if (server->tcp_socket >= nfds) - nfds = server->tcp_socket + 1; - } + { + FD_SET(server->tcp_socket, read_fds); + if (server->qhead) + FD_SET(server->tcp_socket, write_fds); + if (server->tcp_socket >= nfds) + nfds = server->tcp_socket + 1; + } } return (int)nfds; } diff --git a/ares/ares_gethostbyaddr.c b/ares/ares_gethostbyaddr.c index edf0db551..41bf916bf 100644 --- a/ares/ares_gethostbyaddr.c +++ b/ares/ares_gethostbyaddr.c @@ -1,3 +1,5 @@ +/* $Id$ */ + /* Copyright 1998 by the Massachusetts Institute of Technology. * * Permission to use, copy, modify, and distribute this |