summaryrefslogtreecommitdiff
path: root/pkt-line.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2019-12-02 08:43:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-12-02 16:48:56 (GMT)
commita4fb016ba11bb334057a2be3f0dc5e562782d4a1 (patch)
tree08a320aa7823da449195d6594ed686715c860d5e /pkt-line.h
parent5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9 (diff)
downloadgit-a4fb016ba11bb334057a2be3f0dc5e562782d4a1.zip
git-a4fb016ba11bb334057a2be3f0dc5e562782d4a1.tar.gz
git-a4fb016ba11bb334057a2be3f0dc5e562782d4a1.tar.bz2
pkt-line: fix a typo
This typo was introduced in 2153d478b74 (pkt-line: introduce packet_read_with_status, 2018-03-14). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pkt-line.h')
-rw-r--r--pkt-line.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkt-line.h b/pkt-line.h
index 5c62015..fef3a0d 100644
--- a/pkt-line.h
+++ b/pkt-line.h
@@ -77,7 +77,7 @@ int packet_read(int fd, char **src_buffer, size_t *src_len, char
/*
* Read a packetized line into a buffer like the 'packet_read()' function but
* returns an 'enum packet_read_status' which indicates the status of the read.
- * The number of bytes read will be assigined to *pktlen if the status of the
+ * The number of bytes read will be assigned to *pktlen if the status of the
* read was 'PACKET_READ_NORMAL'.
*/
enum packet_read_status {