Diff between 5ff28ce7c0d0bd40d222fdd27057371daee797ce and cf866e55ad00abb29d1e3ff913969edcc5810d35
Changed Files
| File | Additions | Deletions | Status |
| btio/btio.c | +1 | -0 | modified |
Full Patch
diff --git a/btio/btio.c b/btio/btio.c
index 50760f0..6277507 100644
--- a/btio/btio.c
+++ b/btio/btio.c
@@ -777,6 +777,7 @@ voice:
if (!voice)
return TRUE;
+ memset(&bt_voice, 0, sizeof(bt_voice));
bt_voice.setting = voice;
if (setsockopt(sock, SOL_BLUETOOTH, BT_VOICE, &bt_voice,
sizeof(bt_voice)) < 0) {