diff options
author | Olivier Marin <dkr@freesurf.fr> | 2008-07-21 20:30:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-21 21:20:04 -0700 |
commit | d5d745f90b929310f3893bb8b3766cc1745140c8 (patch) | |
tree | de67ef03b447f77d5484f45b2288b73dede8383b /color.h | |
parent | mailinfo: better parse email adresses containg parentheses (diff) | |
download | tgif-d5d745f90b929310f3893bb8b3766cc1745140c8.tar.xz |
parse-options: fix segmentation fault when a required value is missing
p->argc represent the number of arguments that have not been parsed yet,
_including_ the one we are currently parsing. If it is not greater than
one then there is no more argument.
Signed-off-by: Olivier Marin <dkr@freesurf.fr>
Acked-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'color.h')
0 files changed, 0 insertions, 0 deletions