From aca462c761f6e25518146675f6a49d398450e613 Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Mon, 3 Dec 2018 13:11:48 +0100 Subject: [PATCH] - removed outcommented code --- src/mms/iso_presentation/iso_presentation.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/mms/iso_presentation/iso_presentation.c b/src/mms/iso_presentation/iso_presentation.c index 10fd97a4..328a2edb 100644 --- a/src/mms/iso_presentation/iso_presentation.c +++ b/src/mms/iso_presentation/iso_presentation.c @@ -140,9 +140,6 @@ createConnectPdu(IsoPresentation* self, BufferChain writeBuffer, BufferChain pay buffer[bufPos++] = (uint8_t) ((self->callingPresentationSelector >> 8) & 0xff); buffer[bufPos++] = (uint8_t) (self->callingPresentationSelector & 0xff); -// memcpy(buffer + bufPos, callingPresentationSelector, 4); -// bufPos += 4; - /* called-presentation-selector */ bufPos = BerEncoder_encodeTL(0x82, 4, buffer, bufPos); buffer[bufPos++] = (uint8_t) ((self->calledPresentationSelector >> 24) & 0xff); @@ -150,9 +147,6 @@ createConnectPdu(IsoPresentation* self, BufferChain writeBuffer, BufferChain pay buffer[bufPos++] = (uint8_t) ((self->calledPresentationSelector >> 8) & 0xff); buffer[bufPos++] = (uint8_t) (self->calledPresentationSelector & 0xff); -// memcpy(buffer + bufPos, calledPresentationSelector, 4); -// bufPos += 4; - /* presentation-context-id list */ bufPos = BerEncoder_encodeTL(0xa4, 35, buffer, bufPos);