Skip to content

Commit 1cfd2b1

Browse files
committed
Allow to set --max-payload to zero
1 parent 766a8ab commit 1cfd2b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goodbyedpi.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ int main(int argc, char *argv[]) {
870870
optarg = argv[optind];
871871
if (optarg)
872872
max_payload_size = atousi(optarg, "Max payload size parameter error!");
873-
if (!max_payload_size)
873+
else
874874
max_payload_size = 1200;
875875
break;
876876
default:

0 commit comments

Comments
 (0)