Examples: fix clone api
diff --git a/examples/network/clone.c b/examples/network/clone.c
index 30a4944..a718f30 100644
--- a/examples/network/clone.c
+++ b/examples/network/clone.c
@@ -72,7 +72,7 @@ int do_clone(git_repository *repo, int argc, char **argv)
checkout_opts.progress_payload = &pd;
// Do the clone
- error = git_clone(&cloned_repo, url, path, &fetch_progress, &pd, &checkout_opts);
+ error = git_clone(&cloned_repo, url, path, &checkout_opts, &fetch_progress, &pd);
printf("\n");
if (error != 0) {
const git_error *err = giterr_last();