mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
mdns: Minor correction of the test code
This commit is contained in:
parent
0d3c3a9173
commit
355e152082
@ -204,9 +204,7 @@ int main(int argc, char** argv)
|
|||||||
//
|
//
|
||||||
// Note: parameter1 is a file (mangled packet) which caused the crash
|
// Note: parameter1 is a file (mangled packet) which caused the crash
|
||||||
file = fopen(argv[1], "r");
|
file = fopen(argv[1], "r");
|
||||||
if (file) {
|
assert(file >= 0 );
|
||||||
len = fread(buf, 1, 1460, file);
|
|
||||||
}
|
|
||||||
fclose(file);
|
fclose(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user