Diff between 407e977f8d999647a800d6fb0c9d36ce121f57a0 and 36cd74bfa743d3d9661306834f625396f3e98d87
Changed Files
| File | Additions | Deletions | Status |
| audio/headset.c | +2 | -2 | modified |
Full Patch
diff --git a/audio/headset.c b/audio/headset.c
index 0be06cb..1a3c365 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -412,7 +412,7 @@ static int report_indicators(struct audio_device *device, const char *buf)
else
str = indicator_values(ag.indicators);
- err = headset_send(hs, str);
+ err = headset_send(hs, "%s", str);
g_free(str);
@@ -906,7 +906,7 @@ static int response_and_hold(struct audio_device *device, const char *buf)
if (ag.rh >= 0)
headset_send(hs, "\r\n+BTRH: %d\r\n", ag.rh);
- return headset_send(hs, "\r\nOK\r\n", ag.rh);
+ return headset_send(hs, "\r\nOK\r\n");
}
int telephony_last_dialed_number_rsp(void *telephony_device, cme_error_t err)