Skip to content

Commit

Permalink
(fix) check if found before changing location
Browse files Browse the repository at this point in the history
  • Loading branch information
extrafu committed Apr 6, 2017
1 parent d9d4808 commit 2e8c668
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SoObjects/SOGo/SOGoMailer.m
Expand Up @@ -373,7 +373,8 @@ - (NSException *) sendMailData: (NSData *) data
r1 = [cleaned_message rangeOfCString: "\r\nBcc: "
options: 0
range: NSMakeRange(0,limit)];
r1.location += 2;
if (r1.location != NSNotFound)
r1.location += 2;
}

if (r1.location != NSNotFound)
Expand Down

0 comments on commit 2e8c668

Please sign in to comment.