diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-01-28 11:44:19 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-01-28 11:44:19 +0200 |
commit | c576c26df4b61b483313168603887c8e44d30734 (patch) | |
tree | f9b08984f499cdcdbcfe58c383dc5e57ff4c29de | |
parent | 19af3c49e61aa046375497108e05a3a0605da158 (diff) |
Fix uninitialized address variable
-rw-r--r-- | audio/control.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |