mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 14:57:12 +00:00
(fix) make sure found tag is always defined
This commit is contained in:
1 parent
2fb2485b12
commit
fbd2f1511b
1 file changed
+1
-1
@@ -267,7 +267,7 @@ static NSData* _sanitizeContent(NSData *theData)
|
|||||||
|
|
||||||
tags = [VoidTags objectEnumerator];
|
tags = [VoidTags objectEnumerator];
|
||||||
tag = [tags nextObject];
|
tag = [tags nextObject];
|
||||||
while (tag)
|
while (tag && found_tag)
|
||||||
{
|
{
|
||||||
if ([tag caseInsensitiveCompare: found_tag] == NSOrderedSame)
|
if ([tag caseInsensitiveCompare: found_tag] == NSOrderedSame)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user