diff --git a/src/mms/iso_mms/server/mms_file_service.c b/src/mms/iso_mms/server/mms_file_service.c index 0bc5dcc8..a829d2a6 100644 --- a/src/mms/iso_mms/server/mms_file_service.c +++ b/src/mms/iso_mms/server/mms_file_service.c @@ -960,8 +960,7 @@ createFileDirectoryResponse(const char* basepath, uint32_t invokeId, ByteBuffer* bufPos += tempEncoded; - if (moreFollows) - bufPos = BerEncoder_encodeBoolean(0x81, moreFollows, buffer, bufPos); + bufPos = BerEncoder_encodeBoolean(0x81, moreFollows, buffer, bufPos); response->size = bufPos; }