diff options
| author | 2009-07-04 21:31:40 +0000 | |
|---|---|---|
| committer | 2009-07-04 21:31:40 +0000 | |
| commit | 22862b8f1a6f42be6640224ee3f704f532604723 (patch) | |
| tree | 0381f57e501501dd7f983f90562f29c52bc969ba /src/configreader.cpp | |
| parent | Use server name for source of remote TIME rather than SID (diff) | |
| download | inspircd++-22862b8f1a6f42be6640224ee3f704f532604723.tar.gz inspircd++-22862b8f1a6f42be6640224ee3f704f532604723.tar.bz2 inspircd++-22862b8f1a6f42be6640224ee3f704f532604723.zip | |
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 'src/configreader.cpp')
0 files changed, 0 insertions, 0 deletions
