Changeset 1272 for toilet


Ignore:
Timestamp:
Nov 4, 2006, 6:43:13 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Fix uninitialised variable in the filter handler.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/filter.c

    r1243 r1272  
    6666        for(i = sizeof(lookup) / sizeof(lookup[0]); i--; )
    6767            if(!strncmp(filter, lookup[i].name, strlen(lookup[i].name)))
     68            {
     69                n = strlen(lookup[i].name);
    6870                break;
    69 
    70         n = strlen(lookup[i].name);
     71            }
    7172
    7273        if(i == -1 || (filter[n] != ':' && filter[n] != '\0'))
Note: See TracChangeset for help on using the changeset viewer.