be_local: use the right length value for filename in all cases
commit4d3170978711a91f1afe8ffef9dad9c2bc60585d
authorDan McGee <dan@archlinux.org>
Mon, 30 Apr 2012 04:23:54 +0000 (29 23:23 -0500)
committerDan McGee <dan@archlinux.org>
Mon, 30 Apr 2012 04:23:54 +0000 (29 23:23 -0500)
treef9bbae7f7cbc63f783f4635b939b5cc5e59db761
parent678bdfb0d079dba08bf1f4d34a93e5d36521c43d
be_local: use the right length value for filename in all cases

Increment the strlen() provided value by 1 for the NULL byte so we use
the right value in all three places we later reference it.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/be_local.c