diff options
| author | Lennart Poettering <lennart@poettering.net> | 2006-04-24 00:56:14 +0000 | 
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2006-04-24 00:56:14 +0000 | 
| commit | eb13918fc2bc190961d6b3938016ea8e988c7d62 (patch) | |
| tree | e3e0b6115e393afee978763257131ae72e553b05 | |
| parent | 5be3898b65a4090f22de65751735138e6662f845 (diff) | |
fix bad memory access in simple-procotol.c's debug output
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1196 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
| -rw-r--r-- | avahi-daemon/simple-protocol.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/avahi-daemon/simple-protocol.c b/avahi-daemon/simple-protocol.c index 3cac713..740f78b 100644 --- a/avahi-daemon/simple-protocol.c +++ b/avahi-daemon/simple-protocol.c @@ -325,7 +325,7 @@ static void handle_line(Client *c, const char *s) {              goto fail;          client_output_printf(c, "+ Browsing ...\n"); -        avahi_log_debug(__FILE__": Got %s request for '%s'.", cmd, arg); +        avahi_log_debug(__FILE__": Got %s request.", cmd);      } else if (strcmp(cmd, "BROWSE-DNS-SERVERS-IPV6") == 0 && n_args == 1) {          c->state = CLIENT_BROWSE_DNS_SERVERS; @@ -333,7 +333,7 @@ static void handle_line(Client *c, const char *s) {              goto fail;          client_output_printf(c, "+ Browsing ...\n"); -        avahi_log_debug(__FILE__": Got %s request for '%s'.", cmd, arg); +        avahi_log_debug(__FILE__": Got %s request.", cmd);      } else if (strcmp(cmd, "BROWSE-DNS-SERVERS") == 0 && n_args == 1) {          c->state = CLIENT_BROWSE_DNS_SERVERS; @@ -341,7 +341,7 @@ static void handle_line(Client *c, const char *s) {              goto fail;          client_output_printf(c, "+ Browsing ...\n"); -        avahi_log_debug(__FILE__": Got %s request for '%s'.", cmd, arg); +        avahi_log_debug(__FILE__": Got %s request.", cmd);      } else {          client_output_printf(c, "%+i Invalid command \"%s\", try \"HELP\".\n", AVAHI_ERR_INVALID_OPERATION, cmd);  | 
