~rockorager/comlink

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] irc: update PING parameter

Details
Message ID
<20240708220851.54247-1-greg@gpanders.com>
DKIM signature
pass
Download raw message
Patch: +2 -2
s/zirc/comlink
---
 src/irc.zig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/irc.zig b/src/irc.zig
index b6598ae..b4e6292 100644
--- a/src/irc.zig
+++ b/src/irc.zig
@@ -506,7 +506,7 @@ pub const Client = struct {
    pub fn deinit(self: *Client) void {
        self.should_close = true;
        if (self.config.tls) {
            _ = self.client.writeEnd(self.stream, "PING zirc\r\n", true) catch |err| {
            _ = self.client.writeEnd(self.stream, "PING comlink\r\n", true) catch |err| {
                log.err("couldn't close tls conn: {}", .{err});
            };
        }
@@ -605,7 +605,7 @@ pub const Client = struct {
                    }
                    if (now - last_msg > keep_alive) {
                        // send a ping
                        try self.app.queueWrite(self, "PING zirc\r\n");
                        try self.app.queueWrite(self, "PING comlink\r\n");
                        continue;
                    }
                    continue;
-- 
2.45.2
Details
Message ID
<D2L0HF7D2P5K.10PVJ3MQ8DOEX@timculverhouse.com>
In-Reply-To
<20240708220851.54247-1-greg@gpanders.com> (view parent)
DKIM signature
pass
Download raw message
On Mon Jul 8, 2024 at 5:16 PM CDT, Gregory Anders wrote:
> s/zirc/comlink
> ---

Applied! Thanks!

-- 
Tim
Reply to thread Export thread (mbox)