soup_uri_uses_default_port: correct documentation
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 10 Jan 2012 13:51:47 +0000 (13:51 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 3 Feb 2012 13:50:14 +0000 (13:50 +0000)
We now know the default for ftp, too.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=667637
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Dan Winship <danw@gnome.org>
libsoup/soup-uri.c

index 1ece165..313653e 100644 (file)
@@ -736,7 +736,7 @@ soup_uri_normalize (const char *part, const char *unescape_extra)
  * @uri: a #SoupURI
  *
  * Tests if @uri uses the default port for its scheme. (Eg, 80 for
- * http.) (This only works for http and https; libsoup does not know
+ * http.) (This only works for http, https and ftp; libsoup does not know
  * the default ports of other protocols.)
  *
  * Return value: %TRUE or %FALSE