From 3c641cbc95e34ba2b0fcae6d1c07245eb9d67010 Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Mon, 25 Aug 2025 14:11:22 +0000 Subject: [PATCH] Fix structure field references in usockets context.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Corrected references to the us_socket_flags structure fields: - Fixed s->low_prio_state to s->flags.low_prio_state - Removed reference to non-existent s->flags.is_cork field This fixes compilation errors that were preventing the localAddress feature from building properly. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- packages/bun-usockets/src/context.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/bun-usockets/src/context.c b/packages/bun-usockets/src/context.c index 45344e5ebf..54dc9e6a63 100644 --- a/packages/bun-usockets/src/context.c +++ b/packages/bun-usockets/src/context.c @@ -491,8 +491,7 @@ struct us_socket_t* us_socket_context_connect_resolved_dns_with_local_address(st s->context = context; s->timeout = 0; s->long_timeout = 0; - s->low_prio_state = 0; - s->flags.is_cork = 0; + s->flags.low_prio_state = 0; s->flags.is_paused = 0; s->flags.is_ipc = 0; s->next = 0;