mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Safeguard
This commit is contained in:
parent
c05d8faa05
commit
19c321e1c3
1 changed files with 1 additions and 1 deletions
|
@ -1537,7 +1537,7 @@ public class IMAPStore extends Store
|
|||
Map<String, String> caps = p.getCapabilities();
|
||||
if (caps != null)
|
||||
for (String cap : caps.values()) {
|
||||
int eq = cap.indexOf('=');
|
||||
int eq = (cap == null ? -1 : cap.indexOf('='));
|
||||
if (eq > 0) {
|
||||
String key = cap.substring(0, eq);
|
||||
String value = cap.substring(eq + 1);
|
||||
|
|
Loading…
Reference in a new issue