diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-19 22:23:16 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-19 22:23:16 +0000 |
commit | 9e04d7e6d1015f8fe60289a347bade858fa0fa09 (patch) | |
tree | 689c697311cc17bb8b52400821356b36e668d9c9 /libs/lmo/src | |
parent | 83e4af43aa71b2958a429c9f2ebd4a3dd1815841 (diff) |
libs/lmo: fix typo in previous commit
Diffstat (limited to 'libs/lmo/src')
-rw-r--r-- | libs/lmo/src/lmo_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/lmo/src/lmo_core.c b/libs/lmo/src/lmo_core.c index 55696af9c..6a9623aa9 100644 --- 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); - data[copy_len] = '\0'; + dest[copy_len] = '\0'; break; } |