From 8232a0ff48ce0959e20db9ffa1c4e16d4657dbec Mon Sep 17 00:00:00 2001 From: Denton Liu Date: Thu, 8 Jul 2021 19:27:22 -0700 Subject: pkt-line: replace "stateless separator" with "response end" In 0181b600a6 (pkt-line: define PACKET_READ_RESPONSE_END, 2020-05-19), the Response End packet was defined for Git's network protocol. When the patch was sent, it included an oversight where the error messages referenced "stateless separator", the work-in-progress name, over "response end", the final name chosen. Correct these error messages by having them correctly reference a "response end" packet. Signed-off-by: Denton Liu Signed-off-by: Junio C Hamano --- remote-curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote-curl.c') diff --git a/remote-curl.c b/remote-curl.c index 75532a8bae..3c6eceb7be 100644 --- a/remote-curl.c +++ b/remote-curl.c @@ -602,7 +602,7 @@ static int rpc_read_from_out(struct rpc_state *rpc, int options, memcpy(buf - 4, "0000", 4); break; case PACKET_READ_RESPONSE_END: - die(_("remote server sent stateless separator")); + die(_("remote server sent unexpected response end packet")); } } -- cgit v1.2.3