summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2011-02-11 15:51:38 -0200
committerJohan Hedberg <johan.hedberg@nokia.com>2011-02-11 14:03:57 -0800
commitb67bf675e3a8c27c130599ed7164cfc323dc00b2 (patch)
treee13e693b61a1338f31836d59a8babc2300578ef5 /lib
parent2cc99a5ea6f13839fe6fbfd3bf4a761cdcedce50 (diff)
downloadbluez-b67bf675e3a8c27c130599ed7164cfc323dc00b2.tar.gz
Fix wrong parameter order for memcpy in btoh128 function
Diffstat (limited to 'lib')
-rw-r--r--lib/sdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sdp.c b/lib/sdp.c
index 8a31b55ff..d5b99d4d5 100644
--- a/lib/sdp.c
+++ b/lib/sdp.c
@@ -96,7 +96,7 @@ static inline void ntoh128(uint128_t *src, uint128_t *dst)
static inline void btoh128(uint128_t *src, uint128_t *dst)
{
- memcpy(src, dst, sizeof(uint128_t));
+ memcpy(dst, src, sizeof(uint128_t));
}
#endif