From 4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= Date: Thu, 18 Jul 2019 09:04:45 -0400 Subject: [PATCH] caprotocol: fix typo in protocol description The commit specifies the name of the server (S) that is later used in the description. Also, it adds the missing 'i' in the word 'finIshed' and fixes the multi-line comment by removing the unnecessary leading '* ' before closing the comment. --- src/caprotocol.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/caprotocol.h b/src/caprotocol.h index 31c95e75..6a94cbff 100644 --- a/src/caprotocol.h +++ b/src/caprotocol.h @@ -23,7 +23,7 @@ enum { /* Protocol description: * - * Client C connects to server: + * Client C connects to server S: * * Both C and S immediately send CA_PROTOCOL_HELLO: * C → S: CA_PROTOCOL_HELLO @@ -40,7 +40,7 @@ enum { * C → S: CA_PROTOCOL_REQUEST * S → C: CA_PROTOCOL_CHUNK * - * Finshed by: + * Finished by: * C → S: CA_PROTOCOL_GOODBYE (optional) * * On push: @@ -60,7 +60,7 @@ enum { * When a non-recoverable error occurs, either side can send CA_PROTOCOL_ABORTED with an explanation, and terminate the * connection. * - * */ + */ typedef struct CaProtocolHeader { le64_t size;