Changeset 9944
- Timestamp:
- 2005-05-25T11:14:03+12:00 (19 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/z3950proxy.cpp
r9925 r9944 130 130 131 131 132 for (int i=0;i<strlength; i++) {132 for (int i=0;i<strlength;++i) { 133 133 if (*(ptr+i)=='"') { // convert " to SPACE... 134 134 *(ptr+i)=' '; … … 137 137 if (inword==false) { 138 138 inword=true; 139 num_terms++;139 ++num_terms; 140 140 } 141 141 } … … 170 170 char *q_type; 171 171 if (querytype==1) q_type=or_str; else q_type=and_str; 172 for (int i=1;i<num_terms; i++)172 for (int i=1;i<num_terms;++i) 173 173 parsed_query+=q_type; 174 174 // append the actual query … … 253 253 } 254 254 last=(int)c_str_titles[0]; 255 for (i=1;i<=last; i++) {255 for (i=1;i<=last;++i) { 256 256 titles->push_back(c_str_titles[i]); 257 257 free(c_str_titles[i]);
Note:
See TracChangeset
for help on using the changeset viewer.