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 /examples/network/fetch.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 'examples/network/fetch.c')
| -rw-r--r-- | examples/network/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/fetch.c b/examples/network/fetch.c index 9d1404ab4..e341d2d6c 100644 --- a/examples/network/fetch.c +++ b/examples/network/fetch.c @@ -25,7 +25,7 @@ static void *download(void *ptr) // Connect to the remote end specifying that we want to fetch // information from it. - if (git_remote_connect(data->remote, GIT_DIR_FETCH) < 0) { + if (git_remote_connect(data->remote, GIT_DIRECTION_FETCH) < 0) { data->ret = -1; goto exit; } |
