Commit 481ac3d1 by Carlos Martín Nieto

Merge pull request #3129 from Therzok/patch-2

Bring Early EOF message in line with the other two
parents 542a7de0 7e9a240e
...@@ -51,7 +51,7 @@ int git_smart__store_refs(transport_smart *t, int flushes) ...@@ -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) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment