From c576c26df4b61b483313168603887c8e44d30734 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 28 Jan 2009 11:44:19 +0200 Subject: Fix uninitialized address variable --- audio/control.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audio/control.c b/audio/control.c index 244c44cc..9d21b594 100644 --- a/audio/control.c +++ b/audio/control.c @@ -675,6 +675,8 @@ static void avctp_server_cb(GIOChannel *chan, int err, const bdaddr_t *src, goto drop; } + ba2str(dst, address); + if (session->sock >= 0) { error("Refusing unexpected connect from %s", address); goto drop; -- cgit