summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-05-14 21:51:45 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-05-14 21:51:45 +0200
commit481ac3d1b3984ab981cdf92c7f864361a2d3b012 (patch)
treecbaf852aac6748bf4883482de2b33f0cd75fbd9e
parent542a7de0cdbed72f04a30db6f3ed1352b2169381 (diff)
parent7e9a240e0a28fe6103b0d9055a1374afd3580a62 (diff)
downloadlibgit2-481ac3d1b3984ab981cdf92c7f864361a2d3b012.tar.gz
Merge pull request #3129 from Therzok/patch-2
Bring Early EOF message in line with the other two
-rw-r--r--src/transports/smart_protocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transports/smart_protocol.c b/src/transports/smart_protocol.c
index 7f6b74ca7..66f78f73c 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;