Fixed check of max_poll_time as it is an unsigned int.
This commit is contained in:
@@ -704,10 +704,6 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
case 'x': /* --maxpolltime */
|
case 'x': /* --maxpolltime */
|
||||||
max_poll_time = atoi(optarg);
|
max_poll_time = atoi(optarg);
|
||||||
if (max_poll_time < 0)
|
|
||||||
{
|
|
||||||
usage("invalid maxpolltime specified");
|
|
||||||
}
|
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
case 'a': /*--algorithm */
|
case 'a': /*--algorithm */
|
||||||
|
|||||||
Reference in New Issue
Block a user