summaryrefslogtreecommitdiff
path: root/src/transports
diff options
context:
space:
mode:
authorJacques Germishuys <jacquesg@striata.com>2014-04-21 10:55:37 +0200
committerJacques Germishuys <jacquesg@striata.com>2014-04-21 10:55:37 +0200
commit98020d3a73743d79c6acd380339b1d743205a86b (patch)
tree9a9f174d0284a5293c6d1f12112ffcebbeb9877f /src/transports
parent4f62163ead2bde1af3cd7d0c0b8990e1831d3ffd (diff)
downloadlibgit2-98020d3a73743d79c6acd380339b1d743205a86b.tar.gz
Rename progress callback to sideband_progress
Diffstat (limited to 'src/transports')
-rw-r--r--src/transports/smart_pkt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transports/smart_pkt.c b/src/transports/smart_pkt.c
index 2bb09c750..e9376ae6f 100644
--- a/src/transports/smart_pkt.c
+++ b/src/transports/smart_pkt.c
@@ -153,7 +153,7 @@ static int data_pkt(git_pkt **out, const char *line, size_t len)
return 0;
}
-static int progress_pkt(git_pkt **out, const char *line, size_t len)
+static int sideband_progress_pkt(git_pkt **out, const char *line, size_t len)
{
git_pkt_progress *pkt;
@@ -403,7 +403,7 @@ int git_pkt_parse_line(
if (*line == GIT_SIDE_BAND_DATA)
ret = data_pkt(head, line, len);
else if (*line == GIT_SIDE_BAND_PROGRESS)
- ret = progress_pkt(head, line, len);
+ ret = sideband_progress_pkt(head, line, len);
else if (*line == GIT_SIDE_BAND_ERROR)
ret = sideband_error_pkt(head, line, len);
else if (!git__prefixcmp(line, "ACK"))