summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-05-08 11:28:26 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-05-08 11:31:03 +0200
commita81f79e6693926f1ad04ebe5c6f27810e158d534 (patch)
tree7f0e788c2d2cd6211f4d08f4f3abb3c5cfb81089 /src/plugins
parent9e282febfd09ad5c4f6c740975d35c37a275fea2 (diff)
downloadweechat-a81f79e6693926f1ad04ebe5c6f27810e158d534.zip
relay: reformat comment
Diffstat (limited to 'src/plugins')
-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;
}