]>
Commit | Line | Data |
---|---|---|
f3d18efe AM |
1 | --- exclude.c 28 Jan 2006 00:14:02 -0000 1.128 |
2 | +++ exclude.c 13 Mar 2006 01:49:56 -0000 | |
3 | @@ -562,7 +562,7 @@ static int rule_matches(char *name, stru | |
4 | if (litmatch_array(pattern, strings, slash_handling)) | |
5 | return ret_match; | |
6 | } else if (anchored_match) { | |
7 | - if (strcmp(name,pattern) == 0) | |
8 | + if (strcmp(strings[0], pattern) == 0) | |
9 | return ret_match; | |
10 | } else { | |
11 | int l1 = strlen(name); |