summaryrefslogtreecommitdiffstats
path: root/raul
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-05-31 04:01:40 +0000
committerDavid Robillard <d@drobilla.net>2015-05-31 04:01:40 +0000
commitb24be3a8f95aab33b340a4a23f0c3870aa7f6e49 (patch)
treec97ae63850d2c3d41cfb86e00b207ab828c3deca /raul
parent738a358995b32bcea90e17bbe1797c64c13e0ac3 (diff)
downloadraul-b24be3a8f95aab33b340a4a23f0c3870aa7f6e49.tar.gz
raul-b24be3a8f95aab33b340a4a23f0c3870aa7f6e49.tar.bz2
raul-b24be3a8f95aab33b340a4a23f0c3870aa7f6e49.zip
Fix minor comment issues.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@5691 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul')
-rw-r--r--raul/Socket.hpp4
-rw-r--r--raul/URI.hpp2
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<char>& str) {
if (!is_valid_start_char(str[0])) {