1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 01:16:35 +01:00

fix segfault on unknown long option

This commit is contained in:
Jfreegman
2014-08-27 14:30:06 -04:00
parent b1c7e21ca9
commit 155e194174
2 changed files with 2 additions and 1 deletions

View File

@@ -619,6 +619,7 @@ static void parse_args(int argc, char *argv[])
{"dnslist", required_argument, 0, 'r'},
{"force-tcp", no_argument, 0, 't'},
{"proxy", required_argument, 0, 'p'},
{NULL, no_argument, NULL, 0},
};
const char *opts_str = "4bdhotxc:f:n:r:p:";