]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
removed Russ's test file open workaround from merged code
authorTom Peters <thopeter@cisco.com>
Mon, 13 Oct 2014 16:28:06 +0000 (12:28 -0400)
committerTom Peters <thopeter@cisco.com>
Mon, 13 Oct 2014 16:28:06 +0000 (12:28 -0400)
src/service_inspectors/nhttp_inspect/nhttp_test_input.cc

index 4584b2fde4aeccec3dc6770981790e019281abfb..9507bf3fb82a26ff7aae80760909d5cc68130e77 100644 (file)
@@ -39,8 +39,6 @@
 using namespace NHttpEnums;
 
 NHttpTestInput::NHttpTestInput(const char *file_name) {
-    if ( !NHttpTestManager::use_test_input() )  // FIXIT-T workaround
-        return;
     if ((test_data_file = fopen(file_name, "r")) == nullptr) throw std::runtime_error("Cannot open test input file");
 }