summaryrefslogtreecommitdiff
path: root/locales/cjk-utf8
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-07-04 21:31:40 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-07-04 21:31:40 +0000
commit22862b8f1a6f42be6640224ee3f704f532604723 (patch)
tree0381f57e501501dd7f983f90562f29c52bc969ba /locales/cjk-utf8
parent1c9d5f4123e3cd9f85483cee391909e69601b949 (diff)
Fix possible segfault on giving an unknown cmdline argument. index holds the ref to the longopts array if found else it is NULL. optind however holds the next argv to be processed thus optind-1 is the correct index value to use.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11439 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'locales/cjk-utf8')
0 files changed, 0 insertions, 0 deletions