Skip to content

Commit

Permalink
fix job sample
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Sep 27, 2023
1 parent 6d866d9 commit 0939bac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/jobs/describe_job_execution/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <aws/crt/UUID.h>
#include <aws/crt/io/HostResolver.h>

#include <aws/crt/mqtt/Mqtt5Client.h>
#include <aws/crt/mqtt/Mqtt5Packets.h>
#include <aws/iot/Mqtt5Client.h>
#include <aws/iot/MqttClient.h>

Expand Down Expand Up @@ -102,7 +102,7 @@ int main(int argc, char *argv[])
fprintf(stdout, "Connecting...\n");
if (!client->Start())
{
fprintf(stderr, "MQTT5 Connection failed with error %s\n", ErrorDebugString(connection->LastError()));
fprintf(stderr, "MQTT5 Connection failed to start");
exit(-1);
}

Expand Down

0 comments on commit 0939bac

Please sign in to comment.