summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2013-04-29 14:24:28 +0200
committerTomas Bzatek <tbzatek@redhat.com>2013-04-29 14:24:28 +0200
commit98a891369688a072df516caf41f4c39029b5d9ca (patch)
treec309c75ccf2d7ae9fabfbcb9e40e8d9586ffa120
parenta2565bbfe5a0928d098b50a8ef4537d3456df8e4 (diff)
downloadgvfs-98a891369688a072df516caf41f4c39029b5d9ca.tar.gz
httpuri: Fix a typo
-rw-r--r--client/httpuri.c4
1 files 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);