[libsoup] uri: better document that host can be NULL
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] uri: better document that host can be NULL
- Date: Thu, 13 Oct 2016 22:57:25 +0000 (UTC)
commit 9c4d7bc5174932f33200b088568cf7c2fb9be450
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Thu Oct 13 15:27:30 2016 -0500
uri: better document that host can be NULL
The current documentation is extremely misleading, implying here that
the host portion of the URI is always nonnull, which isn't true.
https://bugzilla.gnome.org/show_bug.cgi?id=772891
libsoup/soup-uri.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libsoup/soup-uri.c b/libsoup/soup-uri.c
index dc1b6b6..fbf2efb 100644
--- a/libsoup/soup-uri.c
+++ b/libsoup/soup-uri.c
@@ -33,7 +33,7 @@
* @scheme: the URI scheme (eg, "http")
* @user: a username, or %NULL
* @password: a password, or %NULL
- * @host: the hostname or IP address
+ * @host: the hostname or IP address, or %NULL
* @port: the port number on @host
* @path: the path on @host
* @query: a query for @path, or %NULL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]