Skip to content

Commit

Permalink
Fix IoTHubClient_LL_UploadToBlob_NotifyCompletion to use empty string…
Browse files Browse the repository at this point in the history
… when responseMessage is NULL (gh2554) (#2555)
  • Loading branch information
ewertons authored Jan 9, 2024
1 parent e521623 commit 0609954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iothub_client/src/iothub_client_ll_uploadtoblob.c
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ IOTHUB_CLIENT_RESULT IoTHubClient_LL_UploadToBlob_NotifyCompletion(IOTHUB_CLIENT
uploadCorrelationId,
isSuccess ? RESPONSE_BODY_SUCCESS_BOOLEAN_STRING : RESPONSE_BODY_ERROR_BOOLEAN_STRING,
responseCode,
responseMessage);
responseMessage != NULL ? responseMessage : EMPTY_STRING);

if(response == NULL)
{
Expand Down

0 comments on commit 0609954

Please sign in to comment.