Skip to content

Commit

Permalink
Update MQTTAsync_connectionError description
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan-Bolshakov committed Mar 4, 2024
1 parent faf351d commit 994892c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MQTTAsync.h
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,9 @@ typedef void MQTTAsync_connected(void* context, char* cause);
* the <i>context</i> pointer is passed to each of the callback functions to
* provide access to the context information in the callback.
* @param code A numeric code identifying the error.
* @param message Optional text explaining the error. Can be NULL.
* @param cause Optional text explaining the error. Can be NULL.
*/
typedef void MQTTAsync_connectionError(void* context, int code, const char *message);
typedef void MQTTAsync_connectionError(void* context, int code, char *cause);

/**
* This is a callback function, which will be called when the client
Expand Down

0 comments on commit 994892c

Please sign in to comment.