summaryrefslogtreecommitdiff
path: root/src/gmutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmutil.c')
-rw-r--r--src/gmutil.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gmutil.c b/src/gmutil.c
index a919d621..2138caa3 100644
--- a/src/gmutil.c
+++ b/src/gmutil.c
@@ -88,6 +88,12 @@ void cleanUrlPath_String(iString *d) {
88 deinit_String(&clean); 88 deinit_String(&clean);
89} 89}
90 90
91iRangecc urlProtocol_String(const iString *d) {
92 iUrl url;
93 init_Url(&url, d);
94 return url.protocol;
95}
96
91iRangecc urlHost_String(const iString *d) { 97iRangecc urlHost_String(const iString *d) {
92 iUrl url; 98 iUrl url;
93 init_Url(&url, d); 99 init_Url(&url, d);