mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -05:00
Code/comment cleanup
This commit is contained in:
parent
6686b3e993
commit
766674c27c
@ -390,12 +390,8 @@ public class SmtpTransport extends Transport {
|
||||
Log.d(K9.LOG_TAG, commandToLog);
|
||||
}
|
||||
|
||||
/*
|
||||
* Note: We can use the string length to compute the buffer size since
|
||||
* only ASCII characters are allowed in SMTP commands i.e. this string
|
||||
* will never contain multi-byte characters.
|
||||
*/
|
||||
byte[] data = (s.concat("\r\n")).getBytes();
|
||||
byte[] data = s.concat("\r\n").getBytes();
|
||||
|
||||
/*
|
||||
* Important: Send command + CRLF using just one write() call. Using
|
||||
* multiple calls will likely result in multiple TCP packets and some
|
||||
|
Loading…
Reference in New Issue
Block a user