summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/relay/relay-client.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/plugins/relay/relay-client.c b/src/plugins/relay/relay-client.c
index 63ae2ed80..51df04ec2 100644
--- a/src/plugins/relay/relay-client.c
+++ b/src/plugins/relay/relay-client.c
@@ -490,10 +490,15 @@ relay_client_recv_cb (void *arg_client, int fd)
&decoded_length);
if (decoded_length == 0)
{
- /* When decoded length is 0, assume client sent a PONG frame.
+ /*
+ * When decoded length is 0, assume client sent a PONG frame.
+ *
+ * RFC 6455 Section 5.5.3:
*
- * RFC 6455 Section 5.5.3
- * "A Pong frame MAY be sent unsolicited. This serves as a unidirectional heartbeat. A response to an unsolicited Pong frame is not expected."
+ * "A Pong frame MAY be sent unsolicited. This serves as a
+ * unidirectional heartbeat. A response to an unsolicited
+ * Pong
+ * frame is not expected."
*/
return WEECHAT_RC_OK;
}