Fix EAS sending (#2122221)

Change-Id: I92ea4b1a77d96bf7992ea34026a2c5d30f33c317
This commit is contained in:
Marc Blank 2009-09-15 16:20:34 -07:00
parent ffc681a4da
commit a84a0e9a0d

View File

@ -422,7 +422,7 @@ public class EasSyncService extends AbstractSyncService {
String extra = null;
boolean msg = false;
if (cmd.startsWith("SmartForward&") || cmd.startsWith("SmartReply&")) {
int cmdLength = cmd.length() - 1;
int cmdLength = cmd.indexOf('&');
extra = cmd.substring(cmdLength);
cmd = cmd.substring(0, cmdLength);
msg = true;