From 038aaab598d4e30eda89b47adefa2af01cd89666 Mon Sep 17 00:00:00 2001 From: Ted Percival Date: Fri, 28 Sep 2007 16:09:32 +0000 Subject: 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 --- avahi-common/alternative.h | 4 ++-- 1 file 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); -- cgit