From 800a1daa2305c9df83bb1024c17dc674e8fd5d54 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 27 Sep 2010 16:22:38 +0300 Subject: Whoops, fix typo/thinko from commit dc258bac41e32e754b15a413d844160f34b6a12e --- rpmio/macro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpmio') 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; } -- cgit v1.2.3