summaryrefslogtreecommitdiffstats
path: root/audio/avdtp.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-15 09:28:02 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-15 09:28:02 +0000
commitc6b43a62ce437203e710bf87a2e00214e97d4b23 (patch)
treecbf63f24d142636812e17656487d83de6453cc77 /audio/avdtp.c
parent39a89d37d02285196b667079ad851e01b3575fe7 (diff)
send_request returns int and not a boolean
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r--audio/avdtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c
index db5f4ef4..f35ff5ff 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -1440,7 +1440,7 @@ static gboolean request_timeout(gpointer user_data)
init_request(&sreq.header, AVDTP_ABORT);
sreq.acp_seid = seid;
- if (!send_request(session, TRUE, stream, &sreq, sizeof(sreq))) {
+ if (send_request(session, TRUE, stream, &sreq, sizeof(sreq)) < 0) {
error("Unable to send abort request");
goto failed;
}