Ignore:
Timestamp:
1999-07-16T20:35:03+12:00 (25 years ago)
Author:
rjmcnab
Message:

Fixed a weird bug to do with a faulty case statement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/mgsearch.cpp

    r398 r401  
    1212/*
    1313   $Log$
     14   Revision 1.15  1999/07/16 08:35:03  rjmcnab
     15   Fixed a weird bug to do with a faulty case statement.
     16
    1417   Revision 1.14  1999/07/16 03:42:22  sjboddie
    1518   changed isApprox
     
    467470  } else {
    468471    queryresults.docs_matched = total_retrieved;
    469     switch (is_approx) {
    470     case 0: queryresults.is_approx = Exact;
    471     case 1: queryresults.is_approx = Approximate;
    472     }
     472    if (is_approx) queryresults.is_approx = Approximate;
     473    else queryresults.is_approx = Exact;
    473474  }
    474475}
Note: See TracChangeset for help on using the changeset viewer.