aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-http-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-http-stream.c')
-rw-r--r--camel/camel-http-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-http-stream.c b/camel/camel-http-stream.c
index bc9aa33508..44c7601e82 100644
--- a/camel/camel-http-stream.c
+++ b/camel/camel-http-stream.c
@@ -188,7 +188,7 @@ http_connect (CamelService *service, CamelURL *url)
return NULL;
}
- host = camel_get_host_byname (url->host, NULL);
+ host = camel_gethostbyname (url->host, NULL);
if (!host) {
errno = EHOSTUNREACH;
return NULL;