[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Weechat-dev] [bug #19846] Invalid ping handling
From: |
anonymous |
Subject: |
[Weechat-dev] [bug #19846] Invalid ping handling |
Date: |
Thu, 10 May 2007 06:26:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.11) Gecko/20070327 Firefox/1.5 |
URL:
<http://savannah.nongnu.org/bugs/?19846>
Summary: Invalid ping handling
Project: Wee Enhanced Environment for Chat
Submitted by: None
Submitted on: Четверг 10.05.2007 at 06:26 UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: darkk
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
from server: PING :foobar
weechat reply: PONG ::foobar
expected: PONG :foobar
I'm not sure, that I'm right about expected reply and the way to fix it, but
simple patch helps me:
@@ -1200,6 +1200,8 @@ irc_cmd_recv_ping (t_irc_server *server,
pos = strrchr (arguments, ' ');
if (pos)
pos[0] = '\0';
+ if (arguments[0] == ':') // not sure if it's good idea
+ arguments++;
server_sendf (server, "PONG :%s", arguments);
return 0;
}
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?19846>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Weechat-dev] [bug #19846] Invalid ping handling,
anonymous <=