Skip to content

Commit

Permalink
caprotocol: fix typo in protocol description
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gportay authored and poettering committed Jun 16, 2020
1 parent 6cfe2d4 commit 4ad9bcb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/caprotocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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;
Expand Down

0 comments on commit 4ad9bcb

Please sign in to comment.