Skip to content

Commit

Permalink
Temporary debug message to show the expected and actual Parameters JS…
Browse files Browse the repository at this point in the history
…ON size
  • Loading branch information
davidBar-On committed Dec 16, 2024
1 parent 2a29844 commit f99e55d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/iperf_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -2788,6 +2788,7 @@ JSON_read(int fd, int max_size)
json = cJSON_Parse(str);
}
else {
printf("*** TEMP DEBUG - Parameters JSON: expected %d bytes but received %d bytes;\n", hsize, rc); // [DBO] ???
warning("JSON size of data read does not correspond to offered length");
}
}
Expand Down

0 comments on commit f99e55d

Please sign in to comment.