Changeset 3176 for trunk/gsdl/src/recpt/queryaction.cpp
- Timestamp:
- 2002-06-24T16:58:25+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/queryaction.cpp
r3159 r3176 35 35 #include "htmlutils.h" // for html_safe in do_action 36 36 #include "gsdltools.h" 37 #include <stdlib.h> // for strtol 37 38 38 39 void colinfo_t::clear () { … … 1394 1395 TermInfo_tarray::const_iterator end_term = response.termInfo.end(); 1395 1396 while (this_term != end_term) { 1397 // check that the term doesn't consist completely of digits... 1396 1398 char *term = (*this_term).term.getcstr(); 1397 if(term[0]<'0' || term[0] >'9'){ 1399 char *lastchar; 1400 strtol(term,&lastchar,10); 1401 if(*lastchar != '\0'){ 1398 1402 freqmsg += (*this_term).term + ": " + (*this_term).freq; 1399 1403 if ((this_term + 1) != end_term)
Note:
See TracChangeset
for help on using the changeset viewer.