summaryrefslogtreecommitdiff
path: root/lib9p/srv.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-21 16:54:18 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-21 16:54:18 -0600
commit05f170fc9382dc619a6a3f7ea22c423456a96580 (patch)
tree8f694f207c92c2d56645c898fc79197200b89138 /lib9p/srv.c
parentb64e86dc24b7b976d1af14280d740c4d278f575c (diff)
lib9p_core: Rename the "unknown" version to "uninitialized"
Diffstat (limited to 'lib9p/srv.c')
-rw-r--r--lib9p/srv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib9p/srv.c b/lib9p/srv.c
index 08ccfc3..befeb6a 100644
--- a/lib9p/srv.c
+++ b/lib9p/srv.c
@@ -469,7 +469,7 @@ void lib9p_srv_read(struct lib9p_srv *srv, lo_interface net_stream_conn _conn) {
};
struct srv_sess sess = {
.parent_conn = &conn,
- .version = LIB9P_VER_unknown,
+ .version = LIB9P_VER_uninitialized,
.max_msg_size = CONFIG_9P_SRV_MAX_MSG_SIZE,
.initialized = false,
};
@@ -720,7 +720,7 @@ static void handle_Tversion(struct srv_req *ctx,
struct lib9p_msg_Tversion *req) {
srv_handler_common(ctx, version, req);
- enum lib9p_version version = LIB9P_VER_unknown;
+ enum lib9p_version version = LIB9P_VER_uninitialized;
if (req->version.len >= 6 &&
req->version.utf8[0] == '9' &&