Changeset 10361


Ignore:
Timestamp:
2005-07-29T15:48:37+12:00 (19 years ago)
Author:
mdewsnip
Message:

I don't think there are many values of arg_ct that are both < 0 and > 2...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/queryaction.cpp

    r10262 r10361  
    506506  // check ct argument
    507507  int arg_ct = args.getintarg("ct");
    508   if (arg_ct <0 && arg_ct >2) {
     508  if (arg_ct < 0 || arg_ct > 2) {
    509509    logout << "Warning: \"ct\" argument out of range (" << arg_ct << ")\n";
    510510    cgiarginfo *ctinfo = argsinfo.getarginfo ("ct");
Note: See TracChangeset for help on using the changeset viewer.