aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-11-19 20:22:07 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2017-01-24 23:26:52 +0300
commit736a83fae4e00215537e91bffdde994ad08ec049 (patch)
tree7f6d2bd44420db4d03d4a24a539721e490788015 /util
parentebee9dfd2b7c0ba343294abeb4a7d5e68c6cd5f0 (diff)
downloadqemu-736a83fae4e00215537e91bffdde994ad08ec049.zip
qemu-736a83fae4e00215537e91bffdde994ad08ec049.tar.gz
qemu-736a83fae4e00215537e91bffdde994ad08ec049.tar.bz2
Fix documentation and some comments (article, grammar)
Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'util')
-rw-r--r--util/uri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/uri.c b/util/uri.c
index 70a9cbc..21b1828 100644
--- a/util/uri.c
+++ b/util/uri.c
@@ -342,7 +342,7 @@ rfc3986_parse_port(URI *uri, const char **str)
* @uri: pointer to an URI structure
* @str: the string to analyze
*
- * Parse an user informations part and fills in the appropriate fields
+ * Parse a user information part and fill in the appropriate fields
* of the @uri structure
*
* userinfo = *( unreserved / pct-encoded / sub-delims / ":" )
@@ -508,7 +508,7 @@ rfc3986_parse_authority(URI *uri, const char **str)
cur = *str;
/*
- * try to parse an userinfo and check for the trailing @
+ * try to parse a userinfo and check for the trailing @
*/
ret = rfc3986_parse_user_info(uri, &cur);
if ((ret != 0) || (*cur != '@'))