summaryrefslogtreecommitdiff
path: root/lib9p/srv.c
diff options
context:
space:
mode:
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' &&