Thanks for the bisect, @joolswills. Those pointers sure can be nasty. Fixes #1876.

This commit is contained in:
Alcaro 2015-06-30 12:33:51 +02:00
parent adb532d6f6
commit f067fd2dbc

View File

@ -594,9 +594,10 @@ static void parse_input(int argc, char *argv[])
for (;;)
{
int port;
int c = getopt_long(argc, argv, optstring, opts, NULL);
int c;
val = 0;
c = getopt_long(argc, argv, optstring, opts, NULL);
if (c == -1)
break;