From b24be3a8f95aab33b340a4a23f0c3870aa7f6e49 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 31 May 2015 04:01:40 +0000 Subject: Fix minor comment issues. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@5691 a436a847-0d15-0410-975c-d299462d15a1 --- raul/Socket.hpp | 4 ++-- raul/URI.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/raul/Socket.hpp b/raul/Socket.hpp index 84c40af..e4fca86 100644 --- a/raul/Socket.hpp +++ b/raul/Socket.hpp @@ -56,8 +56,8 @@ public: ~Socket(); /** Bind a server socket to an address. - * @param uri Address URI, e.g. unix:///tmp/foo, tcp://somehost:1234, or - * tcp://*:1234 to listen on all interfaces. + * @param uri Address URI, e.g. unix:///tmp/foo, or tcp://hostname:1234. + * Use "*" as hostname to listen on all interfaces. * @return True on success. */ bool bind(const Raul::URI& uri); diff --git a/raul/URI.hpp b/raul/URI.hpp index d53856d..af33ddc 100644 --- a/raul/URI.hpp +++ b/raul/URI.hpp @@ -84,7 +84,7 @@ public: /** Return true iff `str` is a valid URI. * - * Currently this only checks that `starts` with a valid URI scheme. + * Currently this only checks that `str` starts with a valid URI scheme. */ static inline bool is_valid(const std::basic_string& str) { if (!is_valid_start_char(str[0])) { -- cgit v1.2.1