Remove support for SIZE extension

This commit is contained in:
Alexis Mousset
2015-03-01 20:40:36 +01:00
parent bda0545c25
commit dcba03b91c

View File

@@ -42,7 +42,7 @@ impl Display for ServerInfo {
impl ServerInfo {
/// Checks if the server supports an ESMTP feature
pub fn supports_feature(&self, keyword: Extension) -> Option<Extension> {
for feature in self.esmtp_features {
for feature in self.esmtp_features.iter() {
if keyword.same_extension_as(feature) {
return Some(*feature);
}