[glib] gosxappinfo: fix typo in url_escape_hostname
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gosxappinfo: fix typo in url_escape_hostname
- Date: Thu, 30 Mar 2017 14:11:07 +0000 (UTC)
commit c20ab772b16e374500f9bf8a588518ead069df48
Author: Christoph Reiter <reiter christoph gmail com>
Date: Wed Mar 15 08:37:10 2017 +0100
gosxappinfo: fix typo in url_escape_hostname
This duplicated everything after the hostname.
https://bugzilla.gnome.org/show_bug.cgi?id=734946
gio/gosxappinfo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gosxappinfo.c b/gio/gosxappinfo.c
index 564ae2c..d62dfc0 100644
--- a/gio/gosxappinfo.c
+++ b/gio/gosxappinfo.c
@@ -203,7 +203,7 @@ url_escape_hostname (const char *url)
else
host = g_strdup (host_start);
- hostname = g_hostname_to_ascii (host_start);
+ hostname = g_hostname_to_ascii (host);
ret = g_strconcat (scheme, "://", hostname, host_end, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]