loadhostpairs: return errorcode
authorDaniel Stenberg <daniel@haxx.se>
Mon, 20 Dec 2010 21:17:41 +0000 (22:17 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 20 Dec 2010 21:22:02 +0000 (22:22 +0100)
commitaf54fbbcb582a03d2033691bbc0835b2bd4f0b7f
tree8d4cf9ba7143d0d9a6e116bffc067b18d976bda9
parent1e739e781eb9a68b004a5c1827b70052873bf197
loadhostpairs: return errorcode

Make sure that Curl_cache_addr() errors are propagated to callers of
loadhostpairs().

(this loadhostpairs function caused a scan-build warning due to the
'dns' variable getting assigned but never used)
lib/transfer.c