Allow to set --max-payload to zero

This commit is contained in:
ValdikSS 2022-01-10 08:32:10 +03:00
parent 766a8ab4ed
commit 1cfd2b1b9f

View File

@ -870,7 +870,7 @@ int main(int argc, char *argv[]) {
optarg = argv[optind];
if (optarg)
max_payload_size = atousi(optarg, "Max payload size parameter error!");
if (!max_payload_size)
else
max_payload_size = 1200;
break;
default: