Skip to content

Commit 1e893a1

Browse files
committed
Merge branch 'dl/packet-read-response-end-fix'
Error message update. * dl/packet-read-response-end-fix: pkt-line: replace "stateless separator" with "response end"
2 parents eb27b33 + 8232a0f commit 1e893a1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkt-line.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void packet_response_end(int fd)
103103
{
104104
packet_trace("0002", 4, 1);
105105
if (write_in_full(fd, "0002", 4) < 0)
106-
die_errno(_("unable to write stateless separator packet"));
106+
die_errno(_("unable to write response end packet"));
107107
}
108108

109109
int packet_flush_gently(int fd)

remote-curl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ static int rpc_read_from_out(struct rpc_state *rpc, int options,
653653
memcpy(buf - 4, "0000", 4);
654654
break;
655655
case PACKET_READ_RESPONSE_END:
656-
die(_("remote server sent stateless separator"));
656+
die(_("remote server sent unexpected response end packet"));
657657
}
658658
}
659659

serve.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ static int process_request(void)
258258
state = PROCESS_REQUEST_DONE;
259259
break;
260260
case PACKET_READ_RESPONSE_END:
261-
BUG("unexpected stateless separator packet");
261+
BUG("unexpected response end packet");
262262
}
263263
}
264264

0 commit comments

Comments
 (0)