Index: uspace/lib/uri/test/parser.c
===================================================================
--- uspace/lib/uri/test/parser.c	(revision dbbbe75bd08614d9daa864a503fb5eb1c8b8d62e)
+++ uspace/lib/uri/test/parser.c	(revision 8565a42398543d14e36b2df6f7a70c6237b458f8)
@@ -96,5 +96,5 @@
 	expected_uri.scheme = "http";
 	expected_uri.host = "localhost";
-	
+
 	PARSE_AND_CHECK("http://localhost");
 }
@@ -104,5 +104,5 @@
 	expected_uri.host = "localhost";
 	expected_uri.user_info = "user";
-		
+
 	PARSE_AND_CHECK("http://user@localhost");
 }
@@ -113,5 +113,5 @@
 	expected_uri.user_info = "user";
 	expected_uri.user_credential = "password";
-		
+
 	PARSE_AND_CHECK("https://user:password@localhost");
 }
@@ -121,5 +121,5 @@
 	expected_uri.host = "localhost";
 	expected_uri.path = "/alpha";
-		
+
 	PARSE_AND_CHECK("http://localhost/alpha");
 }
@@ -130,5 +130,5 @@
 	expected_uri.path = "/alpha";
 	expected_uri.fragment = "fragment-name";
-		
+
 	PARSE_AND_CHECK("http://localhost/alpha#fragment-name");
 }
Index: uspace/lib/uri/uri.c
===================================================================
--- uspace/lib/uri/uri.c	(revision dbbbe75bd08614d9daa864a503fb5eb1c8b8d62e)
+++ uspace/lib/uri/uri.c	(revision 8565a42398543d14e36b2df6f7a70c6237b458f8)
@@ -56,5 +56,5 @@
 		return NULL;
 	memset(uri, 0, sizeof(uri_t));
-	
+
 	/* scheme ":" */
 	const char *scheme = str;
@@ -65,8 +65,8 @@
 	}
 	uri->scheme = cut_str(scheme, str);
-	
+
 	/* skip the colon */
 	str++;
-	
+
 	if (*str == '/' && str[1] == '/') {
 		/* "//" [user-info [":" user-credential] "@"] host [":" port] */
@@ -74,12 +74,12 @@
 		str++;
 		const char *authority_start = str;
-	
+
 		char *host_or_user_info = NULL;
 		char *port_or_user_credential = NULL;
-	
+
 		while (*str != 0 && *str != '?' && *str != '#' && *str != '@'
 			&& *str != ':' && *str != '/')
 			str++;
-	
+
 		host_or_user_info = cut_str(authority_start, str);
 		if (*str == ':') {
@@ -90,9 +90,9 @@
 			port_or_user_credential = cut_str(second_part, str);
 		}
-	
+
 		if (*str == '@') {
 			uri->user_info = host_or_user_info;
 			uri->user_credential = port_or_user_credential;
-		
+
 			str++;
 			const char *host_start = str;
@@ -100,5 +100,5 @@
 				&& *str != ':' && *str != '/') str++;
 			uri->host = cut_str(host_start, str);
-		
+
 			if (*str == ':') {
 				str++;
@@ -114,9 +114,9 @@
 		}
 	}
-	
+
 	const char *path_start = str;
 	while (*str != 0 && *str != '?' && *str != '#') str++;
 	uri->path = cut_str(path_start, str);
-	
+
 	if (*str == '?') {
 		str++;
@@ -125,5 +125,5 @@
 		uri->query = cut_str(query_start, str);
 	}
-	
+
 	if (*str == '#') {
 		str++;
@@ -132,5 +132,5 @@
 		uri->fragment = cut_str(fragment_start, str);
 	}
-	
+
 	assert(*str == 0);
 	return uri;
@@ -149,15 +149,15 @@
 		return ELIMIT;
 	}
-	
+
 	if (!isalpha(*str)) {
 		*endptr = str;
 		return EINVAL;
 	}
-	
+
 	while (isalpha(*str) || isdigit(*str) ||
 	    *str == '+' || *str == '-' || *str == '.') {
 		str++;
 	}
-	
+
 	*endptr = str;
 	return EOK;
@@ -181,8 +181,8 @@
 	if (str[0] == 0 || str[1] == 0 || str[2] == 0)
 		return ELIMIT;
-	
+
 	if (str[0] != '%' || !is_hexdig(str[1]) || !is_hexdig(str[2]))
 		return EINVAL;
-	
+
 	if (decoded != NULL) {
 		errno_t rc = str_uint8_t(str + 1, NULL, 16, true, decoded);
@@ -190,5 +190,5 @@
 			return rc;
 	}
-	
+
 	*endptr = str + 3;
 	return EOK;
@@ -207,5 +207,5 @@
 		}
 	}
-	
+
 	*endptr = str;
 	return EOK;
@@ -243,14 +243,14 @@
 	if (uri->scheme && !uri_scheme_validate(uri->scheme))
 		return false;
-	
+
 	if (uri->user_info && !uri_user_info_validate(uri->user_info))
 		return false;
-	
+
 	if (uri->user_credential && !uri_user_info_validate(uri->user_credential))
 		return false;
-	
+
 	if (uri->port && !uri_port_validate(uri->port))
 		return false;
-	
+
 	return true;
 }
