Changeset 7438
- Timestamp:
- 2004-05-26T14:38:19+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/cgiwrapper.cpp
r3396 r7438 196 196 char *efile = error_file.getcstr(); 197 197 ifstream errin (efile); 198 delete efile;198 delete []efile; 199 199 if (errin) { 200 200 errortext += "The error log, " + error_file + ", contains the\n"; … … 227 227 char *efile = error_file.getcstr(); 228 228 ifstream errin (efile); 229 delete efile;229 delete []efile; 230 230 if (errin) { 231 231 errortext += "The error log, " + error_file + ", contains the\n"; … … 256 256 char *efile = error_file.getcstr(); 257 257 ifstream errin (efile); 258 delete efile;258 delete []efile; 259 259 if (errin) { 260 260 errortext += "The error log, " + error_file + ", contains the\n"; … … 463 463 // get the query string if it is not being run as a fastcgi 464 464 // script 465 text_t argstr = "";465 text_t argstr = g_EmptyText; 466 466 cgiargsclass args; 467 467 char *aURIStr; … … 544 544 char *eout = error_file.getcstr(); 545 545 ofstream errout (eout, ios::app); 546 delete eout;546 delete []eout; 547 547 if (!recpt.init(errout)) { 548 548 // an error occurred during the initialisation … … 594 594 aURIStr = FCGX_GetParam("QUERY_STRING", fcgienvp); 595 595 if (aURIStr != NULL) argstr = aURIStr; 596 else argstr = "";596 else argstr = g_EmptyText; 597 597 } 598 598 } … … 650 650 char *eout = error_file.getcstr(); 651 651 ofstream errout (eout, ios::app); 652 delete eout;652 delete []eout; 653 653 654 654 #if defined(__WIN32__) && defined(GSDL_USE_IOS_H)
Note:
See TracChangeset
for help on using the changeset viewer.