1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 00:58:50 -05:00

Code/comment cleanup

This commit is contained in:
cketti 2011-02-26 23:04:49 +01:00
parent 6686b3e993
commit 766674c27c

View File

@ -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