Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Commit

Permalink
fix(common): correct undeclared macro for HTTP message
Browse files Browse the repository at this point in the history
Fix the build error after #563
  • Loading branch information
YingHan-Chen committed Apr 21, 2020
1 parent 85e8bdd commit a8f8be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectivity/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ status_t set_response_content(status_t ret, char **json_result) {
case SC_SERIALIZER_MESSAGE_OVERRUN:
http_ret = SC_HTTP_BAD_REQUEST;
ta_log_error("%s\n", ta_error_to_string(ret));
*json_result = strdup(STR_HTTP_BAD_REQUEST_MESSAGE_OVERSIZE);
*json_result = strdup(STR_HTTP_BAD_REQUEST_MESSAGE_OVERRUN);
break;
default:
http_ret = SC_HTTP_INTERNAL_SERVICE_ERROR;
Expand Down

0 comments on commit a8f8be7

Please sign in to comment.