diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-08-03 13:03:53 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-08-03 13:03:53 +0000 |
commit | 0ffdac3e37977d4db9fb42832b95a6fd1f3a4100 (patch) | |
tree | b74eef8a0c70b5d814cc1f92337360a49bad0ea8 /input/storage.c | |
parent | 5f1807426113c8385415a8ecbd650b142e473103 (diff) |
input: fixed missing byte(HID descriptor field) in the input file
Diffstat (limited to 'input/storage.c')
-rw-r--r-- | input/storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/storage.c b/input/storage.c index 0ba49027..b20524d9 100644 --- a/input/storage.c +++ b/input/storage.c @@ -183,7 +183,7 @@ int store_device_info(bdaddr_t *src, bdaddr_t *dst, struct hidp_connadd_req *req create_filename(filename, PATH_MAX, src, "input"); - size = 15 + 3 + 3 + 5 + (req->rd_size * 2) + 1 + 9; + size = 15 + 3 + 3 + 5 + (req->rd_size * 2) + 2 + 9; str = g_try_malloc0(size); if (!str) return -ENOMEM; |