projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83e4af4
)
libs/lmo: fix typo in previous commit
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 19 Aug 2009 22:23:16 +0000
(22:23 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 19 Aug 2009 22:23:16 +0000
(22:23 +0000)
libs/lmo/src/lmo_core.c
patch
|
blob
|
history
diff --git
a/libs/lmo/src/lmo_core.c
b/libs/lmo/src/lmo_core.c
index 55696af9c75e6a35d91c11a348e278f88f2c10a1..6a9623aa9f6187e7b4f62f6ba426426de7b1b0ca 100644
(file)
--- a/
libs/lmo/src/lmo_core.c
+++ b/
libs/lmo/src/lmo_core.c
@@
-220,7
+220,7
@@
int lmo_lookup(lmo_archive_t *ar, const char *key, char *dest, int len)
{
copy_len = ((len - 1) > entry->length) ? entry->length : (len - 1);
memcpy(dest, &ar->mmap[entry->offset], copy_len);
- d
ata
[copy_len] = '\0';
+ d
est
[copy_len] = '\0';
break;
}