The algorithm was changed in r1250
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1546
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
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);