summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/error.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-30 06:23:54 +0200
committerDan McGee <dan@archlinux.org>2012-04-30 06:23:54 +0200
commit4d3170978711a91f1afe8ffef9dad9c2bc60585d (patch)
treef9bbae7f7cbc63f783f4635b939b5cc5e59db761 /lib/libalpm/error.c
parent678bdfb0d079dba08bf1f4d34a93e5d36521c43d (diff)
downloadpacman-4d3170978711a91f1afe8ffef9dad9c2bc60585d.tar.gz
pacman-4d3170978711a91f1afe8ffef9dad9c2bc60585d.tar.xz
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>
Diffstat (limited to 'lib/libalpm/error.c')
0 files changed, 0 insertions, 0 deletions