Diff between dce613ef261251656eb0eb9fbf3241bf036ab4e0 and c7a838af87de0a3fdd9f5e3116eb4b801d74c3b0
Changed Files
| File | Additions | Deletions | Status |
| android/client/if-bt.c | +1 | -2 | modified |
Full Patch
diff --git a/android/client/if-bt.c b/android/client/if-bt.c
index 16bd882..c9681fc 100644
--- a/android/client/if-bt.c
+++ b/android/client/if-bt.c
@@ -88,8 +88,7 @@ static char *btproperty2str(bt_property_t property)
switch (property.type) {
case BT_PROPERTY_BDNAME:
case BT_PROPERTY_REMOTE_FRIENDLY_NAME:
- sprintf(p, "%*s", property.len,
- ((bt_bdname_t *) property.val)->name);
+ sprintf(p, "%s", ((bt_bdname_t *) property.val)->name);
break;
case BT_PROPERTY_BDADDR: