Skip to content

Commit

Permalink
modify string buffer size (#1825)
Browse files Browse the repository at this point in the history
  • Loading branch information
fz-lyu authored Jan 16, 2021
1 parent 9f9d2f5 commit b64814f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2729,7 +2729,7 @@ TEST_FUNCTION(IoTHubClientCore_SetDeviceMethodCallback_fail)
umock_c_negative_tests_reset();
umock_c_negative_tests_fail_call(index);

char tmp_msg[64];
char tmp_msg[99];
sprintf(tmp_msg, "IoTHubClientCore_SetDeviceMethodCallback failure in test %lu/%lu", (unsigned long)index, (unsigned long)count);
IOTHUB_CLIENT_RESULT result = IoTHubClientCore_SetDeviceMethodCallback(iothub_handle, test_method_callback, NULL);

Expand Down

0 comments on commit b64814f

Please sign in to comment.