Diff between 50071dde9c3c3f1280bd3350632574cc0a71fc9f and bca372b405d9b32a6b15348eef13edf992719aae
Changed Files
| File | Additions | Deletions | Status |
| obexd/client/pbap.c | +1 | -1 | modified |
Full Patch
diff --git a/obexd/client/pbap.c b/obexd/client/pbap.c
index 837419c..589b1ca 100644
--- a/obexd/client/pbap.c
+++ b/obexd/client/pbap.c
@@ -312,7 +312,7 @@ static void read_return_apparam(struct session_data *session,
if (hdr->len == PHONEBOOKSIZE_LEN) {
guint16 val;
memcpy(&val, hdr->val, sizeof(val));
- *phone_book_size = val;
+ *phone_book_size = get_be16(&val);
}
break;
case NEWMISSEDCALLS_TAG: