From 745d4f8078517cf2a0d731b0842effc98f6d8781 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Wed, 29 Jan 2014 14:36:02 +0200 Subject: [PATCH] avctp: Use already calculated avc header This removes long (81 characters) line as a side effect. --- profiles/audio/avctp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c index 6fd145487..78bf1fd1f 100644 --- a/profiles/audio/avctp.c +++ b/profiles/audio/avctp.c @@ -942,7 +942,7 @@ static gboolean session_cb(GIOChannel *chan, GIOCondition cond, ret -= sizeof(struct avc_header); - operands = buf + sizeof(struct avctp_header) + sizeof(struct avc_header); + operands = (uint8_t *) avc + sizeof(struct avc_header); operand_count = ret; if (avctp->cr == AVCTP_RESPONSE) { -- 2.47.3