Changeset 432 for trunk/src


Ignore:
Timestamp:
Apr 29, 2013, 7:18:17 PM (12 years ago)
Author:
katerina
Message:

Fix for ticket #337 (negated conditionals in config file don't work).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_readconf.c

    r425 r432  
    199199          p += 4; while (isspace((int)*p)) ++p;
    200200          negate = 0;
     201          match  = 1;
    201202        }
    202203      else if (0 == strncmp(p, _("!"), 1))
     
    204205          ++p; while (isspace((int)*p)) ++p;
    205206          negate = 0;
     207          match  = 1;
    206208        }
    207209 
     
    284286#endif
    285287    default:
    286       match = 0;
     288      /* do nothing */;
    287289    }
    288290  return match;
     
    608610      }
    609611
     612    /* fprintf(stderr, "%d %s\n", cond_excl, line); */
     613
    610614    /****************************************************
    611615     *
Note: See TracChangeset for help on using the changeset viewer.