diff options
author | Determinant <[email protected]> | 2020-02-14 14:17:16 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2020-02-14 14:17:16 -0500 |
commit | 46a35d57f2565b306285023b27d28187167205c8 (patch) | |
tree | 3fa67f2998afbe614a3977bfaad817a3df2ce326 /src | |
parent | 347daceced3a516fec8080e0fe640f68c137db76 (diff) |
limit the max message size
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index ce98b22..8ca01aa 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -63,7 +63,8 @@ const char *SALTICIDAE_ERROR_STRINGS[] = { "rand source is not available, try again", "connection is not ready", "operation not available", - "unknown error" + "unknown error", + "oversized message", }; const char *TTY_COLOR_RED = "\x1b[31m"; |