Merge pull request #3129 from Therzok/patch-2

Bring Early EOF message in line with the other two
This commit is contained in:
Carlos Martín Nieto 2015-05-14 21:51:45 +02:00
commit 481ac3d1b3

View File

@ -51,7 +51,7 @@ int git_smart__store_refs(transport_smart *t, int flushes)
return recvd;
if (recvd == 0 && !flush) {
giterr_set(GITERR_NET, "Early EOF");
giterr_set(GITERR_NET, "early EOF");
return -1;
}
@ -769,7 +769,7 @@ static int parse_report(transport_smart *transport, git_push *push)
return recvd;
if (recvd == 0) {
giterr_set(GITERR_NET, "Early EOF");
giterr_set(GITERR_NET, "early EOF");
return -1;
}
continue;