summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Percival <ted@tedp.net>2007-09-28 16:09:32 +0000
committerTed Percival <ted@tedp.net>2007-09-28 16:09:32 +0000
commit038aaab598d4e30eda89b47adefa2af01cd89666 (patch)
tree2b6731a0c886803decf0f0c61ce9fa492b699f33
parentfb11678ae2b71101a641a4050797a98229430d03 (diff)
Update documentation of alternate hostname generation
The algorithm was changed in r1250 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1546 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-common/alternative.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/avahi-common/alternative.h b/avahi-common/alternative.h
index d171540..f4216f6 100644
--- a/avahi-common/alternative.h
+++ b/avahi-common/alternative.h
@@ -29,8 +29,8 @@
AVAHI_C_DECL_BEGIN
/** Find an alternative for the specified host name. If called with an
- * original host name, "2" is appended, Afterwards the number is
- * increased on each call. (i.e. "foo" becomes "foo2" becomes "foo3"
+ * original host name, "-2" is appended, afterwards the number is
+ * increased on each call. (i.e. "foo" becomes "foo-2" becomes "foo-3"
* and so on.) avahi_free() the result. */
char *avahi_alternative_host_name(const char *s);