diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-27 16:22:38 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-27 16:22:38 +0300 |
commit | 800a1daa2305c9df83bb1024c17dc674e8fd5d54 (patch) | |
tree | 825a1fe8b7acda45814ffefa8ecce847dbd777f6 /rpmio | |
parent | 46f32d25ce813ffd4df95605a3f745615ec90faa (diff) | |
download | rpm-800a1daa2305c9df83bb1024c17dc674e8fd5d54.tar.gz rpm-800a1daa2305c9df83bb1024c17dc674e8fd5d54.tar.bz2 rpm-800a1daa2305c9df83bb1024c17dc674e8fd5d54.zip |
Whoops, fix typo/thinko from commit dc258bac41e32e754b15a413d844160f34b6a12e
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/macro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c index d460771f8..658bbf624 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -1242,7 +1242,7 @@ expandMacro(MacroBuf mb, const char *src) size_t len = strlen(printbuf); if (len > mb->nb) len = mb->nb; - memcpy(mb->buf+tpos, printbuf, len); + memcpy(mb->buf+mb->tpos, printbuf, len); mb->tpos += len; mb->nb -= len; } |