diff --git a/LICENSE b/LICENSE index a9d4a88..72745ba 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2014-2017 Alexis Mousset +Copyright (c) 2014-2018 Alexis Mousset Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated diff --git a/lettre/src/smtp/client/mod.rs b/lettre/src/smtp/client/mod.rs index 1e6be4c..9b8564d 100644 --- a/lettre/src/smtp/client/mod.rs +++ b/lettre/src/smtp/client/mod.rs @@ -61,7 +61,8 @@ impl ClientCodec { start = idx; } } - Ok(buf.write_all(&frame[start..])?) + buf.write_all(&frame[start..])?; + Ok(()) } } }