Diff between 2563307c2d2d0aba97d3c0e6594ffa5f29f84a58 and 5ad3530e8bc7e52df733e53109f647f7d87a1c03
Changed Files
| File | Additions | Deletions | Status |
| android/client/textconv.c | +1 | -2 | modified |
Full Patch
diff --git a/android/client/textconv.c b/android/client/textconv.c
index 1dc6ad0..18f60ee 100644
--- a/android/client/textconv.c
+++ b/android/client/textconv.c
@@ -253,8 +253,7 @@ char *btproperty2str(const 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: