Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
forgot to remove some extra lines
Browse files Browse the repository at this point in the history
  • Loading branch information
bjyoungblood committed Dec 21, 2010
1 parent 0035f72 commit c831e01
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/models/pdu.js
Expand Up @@ -70,7 +70,6 @@ exports.fromBuffer = function(pduBuffer, splitBuffer) {
}

var bufferPosition = 0;
var x = 0;

while (bufferPosition <= (pduBuffer.length - 16)) {
var length = (pduBuffer[bufferPosition + 0] << 24) +
Expand All @@ -91,15 +90,13 @@ exports.fromBuffer = function(pduBuffer, splitBuffer) {
}

bufferPosition += (length);
x++;
}

return {pdus: pdus, splitPacketBuffer: splitPacketBuffer};

};

exports.individualPduFromBuffer = function(pduBuffer) {

if (pduBuffer.length < 16) {
return false;
}
Expand Down

0 comments on commit c831e01

Please sign in to comment.