Skip to content
Permalink
Browse files
Use key and not headerName in Address (JSIEVE-82)
git-svn-id: https://svn.apache.org/repos/asf/james/jsieve/trunk@1244004 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Eric Charles committed Feb 14, 2012
1 parent 45b8904 commit 767b02a9490059c11c2f0ad6bf5f92a12bf2897b
Showing 1 changed file with 1 addition and 2 deletions.
@@ -44,8 +44,7 @@ public Address() {
protected boolean match(MailAdapter mail, String addressPart,
String comparator, String matchType, String headerName, String key,
SieveContext context) throws SieveException {
final MailAdapter.Address[] addresses = getMatchingValues(mail,
headerName);
final MailAdapter.Address[] addresses = getMatchingValues(mail, key);
final int length = addresses.length;
int i = 0;
boolean isMatched = false;

0 comments on commit 767b02a

Please sign in to comment.