Commit 481ac3d1b3984ab981cdf92c7f864361a2d3b012

Carlos Martín Nieto 2015-05-14T21:51:45

Merge pull request #3129 from Therzok/patch-2 Bring Early EOF message in line with the other two

diff --git a/src/transports/smart_protocol.c b/src/transports/smart_protocol.c
index 7f6b74c..66f78f7 100644
--- a/src/transports/smart_protocol.c
+++ b/src/transports/smart_protocol.c
@@ -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;