diff options
author | Bartosz Szatkowski <bulislaw@linux.com> | 2011-05-15 12:37:41 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-04 22:48:36 +0100 |
commit | bca372b405d9b32a6b15348eef13edf992719aae (patch) | |
tree | 356f8828991fd08308abbcfc299cba4db6acf32b /obexd/client/pbap.c | |
parent | 50071dde9c3c3f1280bd3350632574cc0a71fc9f (diff) |
obexd: Fix endian conversion for appparams in pbap client
Diffstat (limited to 'obexd/client/pbap.c')
-rw-r--r-- | obexd/client/pbap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/obexd/client/pbap.c b/obexd/client/pbap.c index 837419c45..589b1ca4f 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: |