Safeguard

This commit is contained in:
M66B 2020-07-03 11:12:01 +02:00
parent c05d8faa05
commit 19c321e1c3
1 changed files with 1 additions and 1 deletions

View File

@ -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);