servlistgui: Removes leading and trailing whitespace from hostnames
Closes #1651
This commit is contained in:
parent
356241bdfb
commit
5f2d6a3c11
|
@ -1319,7 +1319,7 @@ servlist_sanitize_hostname (char *host)
|
|||
if (c && c == e)
|
||||
*c = '/';
|
||||
|
||||
return ret;
|
||||
return g_strstrip(ret);
|
||||
}
|
||||
|
||||
/* remove leading slash */
|
||||
|
|
Loading…
Reference in New Issue