From b7de95da8cea7b119647c2b9c4437ee87b6ca7f4 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sun, 4 Jul 2010 16:23:44 +0000 Subject: [PATCH] fix compile warning --- src/l2cap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/l2cap.c b/src/l2cap.c index 1c048bc7c..f06a909fd 100644 --- a/src/l2cap.c +++ b/src/l2cap.c @@ -412,7 +412,7 @@ void l2cap_accept_connection_internal(uint16_t local_cid){ void l2cap_decline_connection_internal(uint16_t local_cid, uint8_t reason){ l2cap_channel_t * channel = l2cap_get_channel_for_local_cid( local_cid); if (!channel) { - fprintf(stderr, "l2cap_decline_connection_internal called but local_cid 0x%x not found", local_cid,reason); + fprintf(stderr, "l2cap_decline_connection_internal called but local_cid 0x%x not found", local_cid); return; } l2cap_send_signaling_packet(channel->handle, CONNECTION_RESPONSE, channel->sig_id, 0, 0, reason, 0);