summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-09-27 16:22:38 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-09-27 16:22:38 +0300
commit800a1daa2305c9df83bb1024c17dc674e8fd5d54 (patch)
tree825a1fe8b7acda45814ffefa8ecce847dbd777f6 /rpmio
parent46f32d25ce813ffd4df95605a3f745615ec90faa (diff)
downloadrpm-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.c2
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;
}