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

Commit a8f8be7

Browse files
committed
fix(common): correct undeclared macro for HTTP message
Fix the build error after #563
1 parent 85e8bdd commit a8f8be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connectivity/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ status_t set_response_content(status_t ret, char **json_result) {
7171
case SC_SERIALIZER_MESSAGE_OVERRUN:
7272
http_ret = SC_HTTP_BAD_REQUEST;
7373
ta_log_error("%s\n", ta_error_to_string(ret));
74-
*json_result = strdup(STR_HTTP_BAD_REQUEST_MESSAGE_OVERSIZE);
74+
*json_result = strdup(STR_HTTP_BAD_REQUEST_MESSAGE_OVERRUN);
7575
break;
7676
default:
7777
http_ret = SC_HTTP_INTERNAL_SERVICE_ERROR;

0 commit comments

Comments
 (0)