aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Christopher Hockley <christopher@putcocoa.in>2015-01-26 18:37:37 +0100
committerGravatar Christopher Hockley <christopher@putcocoa.in>2015-01-26 18:37:37 +0100
commitd4e863f70ff55a769a60ed3c2f3791805aa3cad9 (patch)
treee8426c984a00b178d84b7f69811886da275a4f6e /src
parent4cae581f699ebebe46996e9c65aa40fcbeb31616 (diff)
ErrorCode update
Diffstat (limited to 'src')
-rw-r--r--src/core/abstract/MCMessageConstants.h2
-rw-r--r--src/core/provider/MCAccountValidator.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/abstract/MCMessageConstants.h b/src/core/abstract/MCMessageConstants.h
index 5a822d7f..c948b7a2 100644
--- a/src/core/abstract/MCMessageConstants.h
+++ b/src/core/abstract/MCMessageConstants.h
@@ -250,7 +250,7 @@ namespace mailcore {
ErrorNoop,
ErrorGmailApplicationSpecificPasswordRequired, // 40
ErrorServerDate,
- ErrorNoInfoFound,
+ ErrorNoValidServerFound,
};
enum PartType {
diff --git a/src/core/provider/MCAccountValidator.cpp b/src/core/provider/MCAccountValidator.cpp
index 81871dab..5fc90d34 100644
--- a/src/core/provider/MCAccountValidator.cpp
+++ b/src/core/provider/MCAccountValidator.cpp
@@ -106,7 +106,7 @@ bool AccountValidator::setup()
if (provider->imapServices()->count() > 0) {
mImapServices = provider->imapServices();
} else {
- mImapError = ErrorNoInfoFound;
+ mImapError = ErrorNoValidServerFound;
}
}
@@ -114,7 +114,7 @@ bool AccountValidator::setup()
if (provider->popServices()->count() > 0) {
mPopServices = provider->popServices();
} else {
- mPopError = ErrorNoInfoFound;
+ mPopError = ErrorNoValidServerFound;
}
}
@@ -122,7 +122,7 @@ bool AccountValidator::setup()
if (provider->smtpServices()->count() > 0) {
mSmtpServices = provider->smtpServices();
} else {
- mSmtpError = ErrorNoInfoFound;
+ mSmtpError = ErrorNoValidServerFound;
}
}
}