MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / mc_foreacharray

Function mc_foreacharray

src/core/provider/MCAccountValidator.cpp:215–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213 }
214
215 mc_foreacharray(String, mxRecord, mxRecords) {
216 MailProvider * provider = MailProvidersManager::sharedManager()->providerForMX(mxRecord);
217 if (provider != NULL){
218 MC_SAFE_REPLACE_RETAIN(MailProvider, mProvider, provider);
219 if (mProvider != NULL) {
220 MC_SAFE_REPLACE_COPY(String, mIdentifier, mProvider->identifier());
221 }
222 break;
223 }
224 }
225
226 startCheckingHosts();
227}

Callers

nothing calls this directly

Calls 2

providerForMXMethod · 0.80
identifierMethod · 0.45

Tested by

no test coverage detected