Skip to content

Commit

Permalink
Allow to set --max-payload to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
ValdikSS committed Jan 10, 2022
1 parent 766a8ab commit 1cfd2b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/goodbyedpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1cfd2b1

Please sign in to comment.