Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace char pointer with char array in samples. #108

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/include/jobs.h
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ JobsStatus_t Jobs_StartNext( char * buffer,
* // The Following Example shows usage of the Jobs_StartNextMsg API
* // to generate a message string for a StartNextPendingJobExecution request.
*
* const char * clientToken = "test";
* const char clientToken[] = "test";
* size_t clientTokenLength = ( sizeof( clientToken ) - 1U );
* char messageBuffer[ START_JOB_MSG_LENGTH ] = {0};
* size_t messageLength = 0U;
Expand Down Expand Up @@ -881,8 +881,8 @@ JobsStatus_t Jobs_Update( char * buffer,
* // generate a message string for the UpdateJobExecution API
* // of the AWS IoT Jobs Service.
*
* const char * expectedVersion = "2";
* const chat * statusDetails = "{\"key\":\"value\"}";
* const char expectedVersion[] = "2";
* const char statusDetails[] = "{\"key\":\"value\"}";
* char messageBuffer[ UPDATE_JOB_MSG_LENGTH ] = {0};
* size_t messageLength = 0U;
*
Expand Down
Loading