Fixed problem with returnPdu() not working

This commit is contained in:
2015-04-05 12:59:46 +02:00
parent 7c7acc25bd
commit 720276325c
+1 -1
View File
@@ -296,7 +296,7 @@ function pduReturn(pdu, status, callback) {
status = 'ESME_ROK';
}
if (pdu === undefined || pdu.errors === undefined || pdu.cmdName === undefined || pdu.seqNr === undefined) {
if (pdu === undefined || pdu.cmdName === undefined || pdu.seqNr === undefined) {
err = new Error('larvitsmpp: pduReturn() - Invalid call PDU, cannot create response PDU');
}