From c88be3f8b346e1f72c6a991d17253bfaccd5a874 Mon Sep 17 00:00:00 2001 From: Shane Caraveo Date: Mon, 15 Jan 2001 00:57:16 +0000 Subject: [PATCH] check files open --- sapi/isapi/stresstest/stresstest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/isapi/stresstest/stresstest.cpp b/sapi/isapi/stresstest/stresstest.cpp index d43bc5ef57..2b5e5b8380 100644 --- a/sapi/isapi/stresstest/stresstest.cpp +++ b/sapi/isapi/stresstest/stresstest.cpp @@ -218,7 +218,7 @@ BOOL ParseTestFile(const char *path, const char *fn) char *en = _tempnam(temppath,"exp."); FILE *ft = fopen(tn, "w+"); FILE *fe = fopen(en, "w+"); - if (fp) { + if (fp && ft && fe) { while (fgets(line,sizeof(line)-1,fp)) { if (line[0]=='-') { if (_strnicmp(line, "--TEST--", 8)==0) { -- 2.50.1