Changeset 9616
- Timestamp:
- 2005-04-11T10:30:02+12:00 (19 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/mgpp/text/GSDLQueryParser.cpp
r9611 r9616 153 153 154 154 unsigned char c1 = *here; 155 if (!(c1 == 'c'| c1 == 'i' | c1 == 'u'| c1 == 's'))155 if (!(c1 == 'c'|| c1 == 'i' || c1 == 'u' || c1 == 's')) 156 156 return 4; // incorrect format 157 157 … … 160 160 if (here !=end) { 161 161 c2 = *here; 162 if (!(c2 == 'c'| c2 == 'i' | c2 == 'u'| c2 == 's'))162 if (!(c2 == 'c'|| c2 == 'i' || c2 == 'u' || c2 == 's')) 163 163 return 4; // incorrect format 164 164 } -
trunk/indexers/mgpp/text/GSDLQueryParser.cpp
r9613 r9616 153 153 154 154 unsigned char c1 = *here; 155 if (!(c1 == 'c'| c1 == 'i' | c1 == 'u'| c1 == 's'))155 if (!(c1 == 'c'|| c1 == 'i' || c1 == 'u' || c1 == 's')) 156 156 return 4; // incorrect format 157 157 … … 160 160 if (here !=end) { 161 161 c2 = *here; 162 if (!(c2 == 'c'| c2 == 'i' | c2 == 'u'| c2 == 's'))162 if (!(c2 == 'c'|| c2 == 'i' || c2 == 'u' || c2 == 's')) 163 163 return 4; // incorrect format 164 164 } -
trunk/mgpp/text/GSDLQueryParser.cpp
r9613 r9616 153 153 154 154 unsigned char c1 = *here; 155 if (!(c1 == 'c'| c1 == 'i' | c1 == 'u'| c1 == 's'))155 if (!(c1 == 'c'|| c1 == 'i' || c1 == 'u' || c1 == 's')) 156 156 return 4; // incorrect format 157 157 … … 160 160 if (here !=end) { 161 161 c2 = *here; 162 if (!(c2 == 'c'| c2 == 'i' | c2 == 'u'| c2 == 's'))162 if (!(c2 == 'c'|| c2 == 'i' || c2 == 'u' || c2 == 's')) 163 163 return 4; // incorrect format 164 164 }
Note:
See TracChangeset
for help on using the changeset viewer.