mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 14:39:10 +00:00
Merge pull request #3129 from Therzok/patch-2
Bring Early EOF message in line with the other two
This commit is contained in:
commit
481ac3d1b3
@ -51,7 +51,7 @@ int git_smart__store_refs(transport_smart *t, int flushes)
|
|||||||
return recvd;
|
return recvd;
|
||||||
|
|
||||||
if (recvd == 0 && !flush) {
|
if (recvd == 0 && !flush) {
|
||||||
giterr_set(GITERR_NET, "Early EOF");
|
giterr_set(GITERR_NET, "early EOF");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -769,7 +769,7 @@ static int parse_report(transport_smart *transport, git_push *push)
|
|||||||
return recvd;
|
return recvd;
|
||||||
|
|
||||||
if (recvd == 0) {
|
if (recvd == 0) {
|
||||||
giterr_set(GITERR_NET, "Early EOF");
|
giterr_set(GITERR_NET, "early EOF");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user