core: Remove error code from string returned by rpc_error_to_string
authorMartin Fleisz <martin.fleisz@thincast.com>
Thu, 7 Jan 2021 15:28:34 +0000 (16:28 +0100)
committerakallabeth <akallabeth@users.noreply.github.com>
Thu, 25 Feb 2021 08:51:41 +0000 (09:51 +0100)
commitce61bc41cb67e5df3083dda4426998ffc83d5e2d
tree7dbe814e60a5831dbc41c32bf00ad3d33eafba1d
parenta864f0a529f5edd0de9455781e349b3fe3b7c8a7
core: Remove error code from string returned by rpc_error_to_string

This PR removes the error code from the error string returned by
rpc_error_to_string. The error code is passed into the function so it is
not necessary to append it to the returned string as well.

The PR also fixes the screwed formatting of the error code tables.

(cherry picked from commit c78566d2a239648087949dc4ae58e18093f8bf6c)
libfreerdp/core/gateway/rpc.h
libfreerdp/core/gateway/rpc_fault.c