diff options
author | Philip Kelley <phkelley@hotmail.com> | 2012-10-29 13:41:14 -0400 |
---|---|---|
committer | Philip Kelley <phkelley@hotmail.com> | 2012-11-01 09:02:33 -0400 |
commit | 41fb1ca0ec51ad1d2a14b911aab3215e42965d1b (patch) | |
tree | 8e2e8b7bfa136602a424a8e9f23189a5618a0c2e /src/pack-objects.c | |
parent | a0ce87c51c1a3b1b3b674902148ad28d8e5fa32d (diff) | |
download | libgit2-41fb1ca0ec51ad1d2a14b911aab3215e42965d1b.tar.gz |
Reorganize transport architecture (squashed 3)
Diffstat (limited to 'src/pack-objects.c')
-rw-r--r-- | src/pack-objects.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pack-objects.c b/src/pack-objects.c index eb76e05a2..b39684865 100644 --- a/src/pack-objects.c +++ b/src/pack-objects.c @@ -604,8 +604,8 @@ on_error: static int send_pack_file(void *buf, size_t size, void *data) { - git_transport *t = (git_transport *)data; - return gitno_send(t, buf, size, 0); + gitno_socket *s = (gitno_socket *)data; + return gitno_send(s, buf, size, 0); } static int write_pack_buf(void *buf, size_t size, void *data) @@ -1231,10 +1231,10 @@ static int prepare_pack(git_packbuilder *pb) #define PREPARE_PACK if (prepare_pack(pb) < 0) { return -1; } -int git_packbuilder_send(git_packbuilder *pb, git_transport *t) +int git_packbuilder_send(git_packbuilder *pb, gitno_socket *s) { PREPARE_PACK; - return write_pack(pb, &send_pack_file, t); + return write_pack(pb, &send_pack_file, s); } int git_packbuilder_write_buf(git_buf *buf, git_packbuilder *pb) |