GUACAMOLE-1912: Merge fix the spelling errors in the identifiers of some constants.

This commit is contained in:
Virtually Nick 2024-02-25 17:56:22 -05:00 committed by GitHub
commit 1eae86f26e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 4 deletions

View File

@ -49,7 +49,7 @@ const char* __GUAC_STATUS_PERMISSION_DENIED_STR = "Permission denied";
const char* __GUAC_STATUS_BUSY_STR = "Resource busy";
const char* __GUAC_STATUS_NOT_AVAILABLE_STR = "Resource not available";
const char* __GUAC_STATUS_NOT_SUPPORTED_STR = "Not supported";
const char* __GUAC_STATUS_NOT_INPLEMENTED_STR = "Not implemented";
const char* __GUAC_STATUS_NOT_IMPLEMENTED_STR = "Not implemented";
const char* __GUAC_STATUS_TRY_AGAIN_STR = "Temporary failure";
const char* __GUAC_STATUS_PROTOCOL_ERROR_STR = "Protocol violation";
const char* __GUAC_STATUS_NOT_FOUND_STR = "Not found";
@ -124,8 +124,8 @@ const char* guac_status_string(guac_status status) {
return __GUAC_STATUS_NOT_SUPPORTED_STR;
/* Not implemented */
case GUAC_STATUS_NOT_INPLEMENTED:
return __GUAC_STATUS_NOT_INPLEMENTED_STR;
case GUAC_STATUS_NOT_IMPLEMENTED:
return __GUAC_STATUS_NOT_IMPLEMENTED_STR;
/* Temporary failure */
case GUAC_STATUS_TRY_AGAIN:

View File

@ -115,8 +115,16 @@ typedef enum guac_status {
/**
* Support for the requested operation is not yet implemented.
*
* @deprecated This constant contains a typo in its name and will be
* removed in a future release. Use GUAC_STATUS_NOT_IMPLEMENTED instead.
*/
GUAC_STATUS_NOT_INPLEMENTED,
GUAC_STATUS_NOT_INPLEMENTED = 15,
/**
* Support for the requested operation is not yet implemented.
*/
GUAC_STATUS_NOT_IMPLEMENTED = 15,
/**
* The operation is temporarily unable to be performed, but may succeed if