diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-01-12 23:08:14 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-01-19 15:43:29 -0700 |
commit | cd9667d6be072a9c736e49c679b55852f7b30a6c (patch) | |
tree | c99c10d4c0caea96cc5a5420532eccaa60efe976 /lib9p/tests/test_server/config | |
parent | 6381e08fd03e322d7d95973ca00c5605afb67707 (diff) |
lib9p: Don't nul-terminate strings, add some string utils
Diffstat (limited to 'lib9p/tests/test_server/config')
-rw-r--r-- | lib9p/tests/test_server/config/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib9p/tests/test_server/config/config.h b/lib9p/tests/test_server/config/config.h index e207f7e..971dda2 100644 --- a/lib9p/tests/test_server/config/config.h +++ b/lib9p/tests/test_server/config/config.h @@ -1,6 +1,6 @@ /* config.h - Compile-time configuration for srv9p * - * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> + * Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com> * SPDX-License-Identifier: AGPL-3.0-or-later */ @@ -33,7 +33,7 @@ /** * Maximum host-data-structure size. A message may be larger in * unmarshaled-host-structures than marshaled-net-bytes due to (1) - * struct padding, (2) nul-terminator byes for strings. + * struct padding, (2) array pointers. */ #define CONFIG_9P_MAX_HOSTMSG_SIZE CONFIG_9P_MAX_MSG_SIZE+16 #define CONFIG_9P_MAX_FIDS 16 |