diff options
author | Trent Lloyd <lathiat@bur.st> | 2005-10-17 20:07:43 +0000 |
---|---|---|
committer | Trent Lloyd <lathiat@bur.st> | 2005-10-17 20:07:43 +0000 |
commit | 3adbda2cd5be48b7c630325f0f92e315d7eb2cfb (patch) | |
tree | fa98de69267ed3e7f1a3e915b2632afebe8ddb38 /avahi-discover-standalone | |
parent | c1c236e751d126f3aeffe3ccf5da889dbf853b2f (diff) |
* Add custom user-specific configure flags to bootstrap.sh
* Add new constant AVAHI_ADDRESS_STR_MAX for use with
avahi_address_snprint arr
ays
* Update all our code to use AVAHI_ADDRESS_STR_MAX
* Add avahi_client_add_address to avahi-client
* Add avahi_client_add_address test to avahi-client
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@800 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-discover-standalone')
-rw-r--r-- | avahi-discover-standalone/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-discover-standalone/main.c b/avahi-discover-standalone/main.c index 296b56d..bfc270d 100644 --- a/avahi-discover-standalone/main.c +++ b/avahi-discover-standalone/main.c @@ -242,7 +242,7 @@ static void update_label(struct Service *s, const gchar *hostname, const AvahiAd gchar t[512], address[64], *txt_s; if (a && hostname) { - char na[256]; + char na[AVAHI_ADDRESS_STR_MAX]; avahi_address_snprint(na, sizeof(na), a); snprintf(address, sizeof(address), "%s/%s:%u", hostname, na, port); |