Skip to content

Commit

Permalink
Fix error list (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm authored Jul 13, 2019
1 parent aabc24e commit f76b5a0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions source/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# pragma GCC diagnostic ignored "-Wpointer-to-int-cast"
#endif

#define AWS_DEFINE_ERROR_INFO_HTTP(CODE, STR) AWS_DEFINE_ERROR_INFO(CODE, STR, "aws-c-http")
#define AWS_DEFINE_ERROR_INFO_HTTP(CODE, STR) [(CODE)-0x0800] = AWS_DEFINE_ERROR_INFO(CODE, STR, "aws-c-http")

/* clang-format off */
static struct aws_error_info s_errors[] = {
Expand Down Expand Up @@ -73,9 +73,6 @@ static struct aws_error_info s_errors[] = {
AWS_DEFINE_ERROR_INFO_HTTP(
AWS_ERROR_HTTP_CONNECTION_MANAGER_VENDED_CONNECTION_UNDERFLOW,
"Release called when the connection manager's vended connection count was zero"),
AWS_DEFINE_ERROR_INFO_HTTP(
AWS_ERROR_HTTP_END_RANGE,
"Not a real error and should never be seen."),
};
/* clang-format on */

Expand Down

0 comments on commit f76b5a0

Please sign in to comment.