mdns: Minor correction of the test code

pull/6904/head
David Cermak 2021-06-09 09:58:58 +02:00
rodzic 14099fe15e
commit 7d76245173
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -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);
} }