summaryrefslogtreecommitdiff
path: root/src/detached/client.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/detached/client.zig')
-rw-r--r--src/detached/client.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detached/client.zig b/src/detached/client.zig
index cd17871e..617ae342 100644
--- a/src/detached/client.zig
+++ b/src/detached/client.zig
@@ -886,7 +886,7 @@ test "detached Restore keeps attached frontends and follows queued frames with a
try testing.expect(h.session.clients[c.slot].attached);
try testing.expectEqualStrings("saved body\n", h.core.panes[0].?.file.?.content);
try testing.expect(h.session.clients[c.slot].need_full);
- var wake = [_]libc.pollfd{.{ .fd = h.session.mailbox.wake[0], .events = poll_in, .revents = 0 }};
+ var wake = [_]libc.pollfd{.{ .fd = h.session.wake[0], .events = poll_in, .revents = 0 }};
try testing.expectEqual(@as(c_int, 1), libc.poll(&wake, wake.len, 0));
for (0..Harness.rounds) |_| {
if ((try h.pumpUntil(&c, .frame)).frame.kind == .full) break;