summaryrefslogtreecommitdiff
path: root/lib/hostsyn.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-04-10 15:00:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-04-10 15:00:53 +0000
commit686d90745be4417127050ad4b36d0a5403def200 (patch)
tree786a63b7554065aa0514440adf35fd7b639ae94c /lib/hostsyn.c
parent5dc02d53c3edebab7597cd4ada446273e3a6daa8 (diff)
downloadcurl-686d90745be4417127050ad4b36d0a5403def200.tar.gz
First curl_multi_socket() commit. Should primarily be considered as an internal
code rearrange to fit the future better.
Diffstat (limited to 'lib/hostsyn.c')
-rw-r--r--lib/hostsyn.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/hostsyn.c b/lib/hostsyn.c
index a385632e9..fac78f11f 100644
--- a/lib/hostsyn.c
+++ b/lib/hostsyn.c
@@ -126,17 +126,15 @@ CURLcode Curl_is_resolved(struct connectdata *conn,
* It is present here to keep #ifdefs out from multi.c
*/
-CURLcode Curl_resolv_fdset(struct connectdata *conn,
- fd_set *read_fd_set,
- fd_set *write_fd_set,
- int *max_fdp)
+int Curl_resolv_getsock(struct connectdata *conn,
+ curl_socket_t *sock,
+ int numsocks)
{
(void)conn;
- (void)read_fd_set;
- (void)write_fd_set;
- (void)max_fdp;
+ (void)sock;
+ (void)numsocks;
- return CURLE_OK;
+ return 0; /* no bits since we don't use any socks */
}
#endif /* truly sync */