Changeset 7381 for trunk/gsdl/src/recpt/z3950proto.cpp
- Timestamp:
- 2004-05-24T15:34:40+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/z3950proto.cpp
r2905 r7381 76 76 errfile=stderr; 77 77 } 78 delete errf_str;78 delete []errf_str; 79 79 yyout=errfile; 80 80 … … 86 86 if (yyin==NULL) { 87 87 cerr << "Could not open "<<filename_str<<" for reading.\n"; 88 delete filename_str;88 delete []filename_str; 89 89 return; 90 90 } 91 delete filename_str;91 delete []filename_str; 92 92 zconfigparse(); 93 93 … … 239 239 << coll_str 240 240 << endl; 241 delete coll_str;241 delete []coll_str; 242 242 return; 243 243 } … … 335 335 336 336 // leave response.termInfo empty 337 // response.termInfo.push_back( ""); ??????? (should be empty if not req.)337 // response.termInfo.push_back(g_EmptyText); ??????? (should be empty if not req.) 338 338 339 339 // See if this is for a query action … … 484 484 again in the request, so for now we'll take advantage of this.*/ 485 485 486 int querytype=0; text_t field= "";486 int querytype=0; text_t field=g_EmptyText; 487 487 488 488 // get the Query out of the filterOptions. (we need get the Title) 489 text_t query= "";489 text_t query=g_EmptyText; 490 490 OptionValue_tarray::iterator opthere=request.filterOptions.begin(); 491 491 OptionValue_tarray::iterator opt_end=request.filterOptions.end(); … … 508 508 docs_here->metadata["Title"].values.push_back(doctitle); 509 509 } else { 510 docs_here->metadata[*fields_here].values.push_back( "");510 docs_here->metadata[*fields_here].values.push_back(g_EmptyText); 511 511 } 512 512 fields_here++;
Note:
See TracChangeset
for help on using the changeset viewer.