From: Lennart Poettering Date: Tue, 25 Sep 2007 15:31:22 +0000 (+0000) Subject: work around solaris pre-historic printf() X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=39cd4534929179dffb39d803fbabb66a2c10ecdb;p=catta work around solaris pre-historic printf() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1542 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-ui/avahi-ui.c b/avahi-ui/avahi-ui.c index 402ae9d..f09dd1c 100644 --- a/avahi-ui/avahi-ui.c +++ b/avahi-ui/avahi-ui.c @@ -507,7 +507,7 @@ static void browse_callback( GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Browsing for service type %s in domain %s failed: %s", - type, domain, + type, domain ? domain : "n/a", avahi_strerror(avahi_client_errno(d->priv->client))); gtk_dialog_run(GTK_DIALOG(m)); gtk_widget_destroy(m);