[gvfs] httpuri: Fix a typo
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] httpuri: Fix a typo
- Date: Mon, 29 Apr 2013 12:24:49 +0000 (UTC)
commit 98a891369688a072df516caf41f4c39029b5d9ca
Author: Tomas Bzatek <tbzatek redhat com>
Date: Mon Apr 29 14:24:28 2013 +0200
httpuri: Fix a typo
client/httpuri.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/client/httpuri.c b/client/httpuri.c
index ebbf0a4..a60b7af 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]