- added missing error evaluation in client getNameList service

pull/6/head
Michael Zillgith 10 years ago
parent 2daa5fdec4
commit e0a60e6591

@ -1058,11 +1058,12 @@ mmsClient_getNameListSingleRequest(
ByteBuffer* responseMessage = sendRequestAndWaitForResponse(self, invokeId, payload);
if (responseMessage != NULL)
moreFollows = mmsClient_parseGetNameListResponse(nameList, self->lastResponse, NULL);
if (self->lastResponseError != MMS_ERROR_NONE)
*mmsError = self->lastResponseError;
releaseResponse(self);
if (self->associationState == MMS_STATE_CLOSED)

@ -488,7 +488,6 @@ addFileEntriesToResponse(uint8_t* buffer, int bufPos, int maxBufSize, char* dire
int bufferSpaceLeft = maxBufSize - bufPos;
if (overallEntrySize > bufferSpaceLeft) {
*moreFollows = true;
break;
}

Loading…
Cancel
Save