mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-29 10:17:30 +02:00
mdns: Minor correction of the test code
* Original commit: espressif/esp-idf@7d76245173
This commit is contained in:
committed by
suren-gabrielyan-espressif
parent
bc4cda8ea7
commit
93e6efedc7
@ -204,9 +204,7 @@ int main(int argc, char** argv)
|
||||
//
|
||||
// Note: parameter1 is a file (mangled packet) which caused the crash
|
||||
file = fopen(argv[1], "r");
|
||||
if (file) {
|
||||
len = fread(buf, 1, 1460, file);
|
||||
}
|
||||
assert(file >= 0 );
|
||||
fclose(file);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user