diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-08-01 23:19:44 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-08-04 06:23:58 +0200 |
commit | 32413ad44b874d622034ebd63da57159446a91d3 (patch) | |
tree | 3a5fc83dc6d4fbaae34a3d8e18e5bf4b1feb5993 /lib/libalpm/dload.c | |
parent | dce82f9d198aed6ee1700048cd49dd3f95bdc9a7 (diff) | |
download | pacman-32413ad44b874d622034ebd63da57159446a91d3.tar.gz pacman-32413ad44b874d622034ebd63da57159446a91d3.tar.xz |
handle: factor out string list option handling
Consolidates repeated code and replaces dangerous
strdup calls with STRDUP.
Also fix a couple variables named "pkg" that
refer to file paths.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/dload.c')
0 files changed, 0 insertions, 0 deletions