summaryrefslogtreecommitdiff
path: root/client/strings.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-29 10:35:23 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-29 10:35:23 +0200
commitef8b97942d8d5cec956b75b6254e18034914e80d (patch)
tree67f061004e3d895cd2e20184c935007d967d4cfc /client/strings.c
parent4d446fb2c1d14142304971095ee60668ba9c6bc5 (diff)
fix buffer overrun in logs
Diffstat (limited to 'client/strings.c')
-rw-r--r--client/strings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/strings.c b/client/strings.c
index 1354653..29ca725 100644
--- a/client/strings.c
+++ b/client/strings.c
@@ -58,6 +58,7 @@ void w2_strings_errors_internal() {
g_w2_error_internal_strings[W2_E_WARN_MODE_HISTORY_BUFFER_IOB] =
W2_UI_ERROR_INT_W2_E_WARN_MODE_HISTORY_BUFFER_IOB;
g_w2_error_internal_strings[W2_E_WARN_PING_TIMEOUT] = W2_UI_ERROR_INT_W2_E_WARN_PING_TIMEOUT;
+ g_w2_error_internal_strings[W2_E_INFO_ORDER_ARRIVED] = W2_UI_ERROR_INT_W2_E_INFO_ORDER_ARRIVED;
}
void w2_strings_errors_user() {
@@ -82,6 +83,7 @@ void w2_strings_errors_user() {
g_w2_error_user_strings[W2_E_WARN_MODE_HISTORY_BUFFER_IOB] =
W2_UI_ERROR_USR_W2_E_WARN_MODE_HISTORY_BUFFER_IOB;
g_w2_error_user_strings[W2_E_WARN_PING_TIMEOUT] = W2_UI_ERROR_USR_W2_E_WARN_PING_TIMEOUT;
+ g_w2_error_user_strings[W2_E_INFO_ORDER_ARRIVED] = W2_UI_ERROR_USR_W2_E_INFO_ORDER_ARRIVED;
}
void w2_strings_init() {