mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1138757 - Part 1: Fix the logic of checking invalid port in CDMA WAP Push. r=echen
This commit is contained in:
parent
b7543e2b73
commit
decf84a060
@ -2968,11 +2968,11 @@ MobileMessageDB.prototype = {
|
||||
// save it into the segmentRecord.
|
||||
if (aSmsSegment.teleservice === RIL.PDU_CDMA_MSG_TELESERIVCIE_ID_WAP
|
||||
&& seq === 1) {
|
||||
if (aSmsSegment.originatorPort === Ci.nsIGonkSmsService.SMS_APPLICATION_PORT_INVALID) {
|
||||
if (aSmsSegment.originatorPort !== Ci.nsIGonkSmsService.SMS_APPLICATION_PORT_INVALID) {
|
||||
segmentRecord.originatorPort = aSmsSegment.originatorPort;
|
||||
}
|
||||
|
||||
if (aSmsSegment.destinationPort === Ci.nsIGonkSmsService.SMS_APPLICATION_PORT_INVALID) {
|
||||
if (aSmsSegment.destinationPort !== Ci.nsIGonkSmsService.SMS_APPLICATION_PORT_INVALID) {
|
||||
segmentRecord.destinationPort = aSmsSegment.destinationPort;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user