diff options
| author | Ben Straub <bs@github.com> | 2012-11-27 13:15:43 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2012-11-27 13:19:49 -0800 |
| commit | df705148ecc0d0a4c78f7a3b0903527918e38149 (patch) | |
| tree | 89d5d71d0b2fc45182a884e4aa64a7b4338d7f7d /src/transports/smart.c | |
| parent | 74f9132212a1c634c45241852dbd8564427e964b (diff) | |
| download | libgit2-df705148ecc0d0a4c78f7a3b0903527918e38149.tar.gz | |
API updates for remote.h
Includes typedef for git_direction, and renames for
GIT_DIR_[FETCH|PUSH] to GIT_DIRECTION_(\1).
Diffstat (limited to 'src/transports/smart.c')
| -rw-r--r-- | src/transports/smart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transports/smart.c b/src/transports/smart.c index 195ea285c..e8dbbef5c 100644 --- a/src/transports/smart.c +++ b/src/transports/smart.c @@ -73,7 +73,7 @@ static int git_smart__connect( t->flags = flags; t->cred_acquire_cb = cred_acquire_cb; - if (GIT_DIR_FETCH == direction) + if (GIT_DIRECTION_FETCH == direction) { if ((error = t->wrapped->action(&stream, t->wrapped, t->url, GIT_SERVICE_UPLOADPACK_LS)) < 0) return error; @@ -159,7 +159,7 @@ int git_smart__negotiation_step(git_transport *transport, void *data, size_t len if (t->rpc) git_smart__reset_stream(t); - if (GIT_DIR_FETCH == t->direction) { + if (GIT_DIRECTION_FETCH == t->direction) { if ((error = t->wrapped->action(&stream, t->wrapped, t->url, GIT_SERVICE_UPLOADPACK)) < 0) return error; |
