From 98a891369688a072df516caf41f4c39029b5d9ca Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Mon, 29 Apr 2013 14:24:28 +0200 Subject: httpuri: Fix a typo --- client/httpuri.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/httpuri.c b/client/httpuri.c index ebbf0a4d..a60b7af7 100644 --- a/client/httpuri.c +++ b/client/httpuri.c @@ -66,7 +66,7 @@ http_get_handled_schemes (GVfsUriMapper *mapper) } static inline gboolean -port_is_defaul_port (int port, gboolean ssl) +port_is_default_port (int port, gboolean ssl) { if (ssl) return port == 443; @@ -105,7 +105,7 @@ http_from_uri (GVfsUriMapper *mapper, g_vfs_uri_mount_info_set (info, "user", uri->userinfo); /* only set the port if it isn't the default port */ - if (uri->port != -1 && ! port_is_defaul_port (uri->port, ssl)) + if (uri->port != -1 && ! port_is_default_port (uri->port, ssl)) { char *port = g_strdup_printf ("%d", uri->port); g_vfs_uri_mount_info_set (info, "port", port); -- cgit v1.2.1