Skip to content

Commit

Permalink
issue #216: minor fix for timeStampB
Browse files Browse the repository at this point in the history
  • Loading branch information
satanatoly committed Jul 27, 2017
1 parent 507acf0 commit 3b848af
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -587,10 +587,6 @@ private void onSendPduStatusLocal(final SendPduStatus event, final ActivityConte
if (realID != -1)
confirmMessageInSendingPool = getMessageInSendingPoolBySeqNumber(realID);

if (realID != -1 && confirmMessageInSendingPool.sequenceNumberFound) {
confirmMessageInSendingPool.sms.setTimestampB(System.currentTimeMillis());
}

fireSendPduStatusChild(event2, act, null);
} catch (IllegalStateException e) {
if (logger.isInfoEnabled())
Expand Down Expand Up @@ -771,6 +767,7 @@ private void sendDeliverSm(SmsSet smsSet) throws SmscProcessingException {
pendingMessages.add(currData);
} else {
SentItem sentItem = sendNextChunk(currData, smsSet, esme);
sms.setTimestampB(System.currentTimeMillis());
sentSequenceNumber = sentItem.getRemoteSequenceNumber();
}

Expand Down Expand Up @@ -837,6 +834,7 @@ private void sendDeliverSm(SmsSet smsSet) throws SmscProcessingException {
pendingMessages.add(currData);
} else {
SentItem sentItem = sendNextChunk(currData, smsSet, esme);
sms.setTimestampB(System.currentTimeMillis());
sentSequenceNumber = sentItem.getRemoteSequenceNumber();
}

Expand Down

0 comments on commit 3b848af

Please sign in to comment.