summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/dload.h
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2013-10-25 01:52:59 +0200
committerAllan McRae <allan@archlinux.org>2013-10-31 07:20:03 +0100
commit08191b13f2911b5f371824fbc224fe66c336bc76 (patch)
tree4bbd363852d6d1464b905c87fe19da62c804588d /lib/libalpm/dload.h
parent1c5b94e6bbcf2e8e1c8bb2711465b98a894a9652 (diff)
downloadpacman-08191b13f2911b5f371824fbc224fe66c336bc76.tar.gz
pacman-08191b13f2911b5f371824fbc224fe66c336bc76.tar.xz
check for -1 return value from getopt_long
getopt_long returns -1 when it has finished parsing all args. A return value of 0 indicates that a flag was set directly by getopt_long and parsing should continue. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/dload.h')
0 files changed, 0 insertions, 0 deletions