commit | 7f2343824550452974d78f5dbd94e64844355c33 | [log] [tgz] |
---|---|---|
author | Linus Walleij <triad@df.lth.se> | Sat Dec 09 19:41:00 2006 +0000 |
committer | Linus Walleij <triad@df.lth.se> | Sat Dec 09 19:41:00 2006 +0000 |
tree | 09026ac65c5aa7f55c0d5186adee046304610a01 | |
parent | a05b980a0cbc12850df7fecb876323d7ce92b56e [diff] |
Stync
diff --git a/src/ptp-pack.c b/src/ptp-pack.c index 9c0465c..ef914dc 100644 --- a/src/ptp-pack.c +++ b/src/ptp-pack.c
@@ -159,7 +159,7 @@ return; } - /* number of characters + leading 0 */ + /* number of characters including terminating 0 (PTP standard confirmed) */ htod8a(&data[offset],packedlen+1); for (i=0;i<packedlen && i< PTP_MAXSTRLEN; i++) { htod16a(&data[offset+i*2+1],ucs2str[i]);