summaryrefslogtreecommitdiff
path: root/pullreqd.c
diff options
context:
space:
mode:
Diffstat (limited to 'pullreqd.c')
-rw-r--r--pullreqd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pullreqd.c b/pullreqd.c
index f34dad6..c7f3a01 100644
--- a/pullreqd.c
+++ b/pullreqd.c
@@ -160,7 +160,7 @@ int init_socket(config *cfg) {
return fd;
}
-int main_loop(config *cfg, int listen_socket, git_repository **repos) {
+int main_loop(config *cfg, int listen_socket, git_repo **repos) {
int done = 0;
struct stat st;
@@ -177,7 +177,7 @@ int main_loop(config *cfg, int listen_socket, git_repository **repos) {
return 0;
}
-void cleanup(config *cfg, int listen_socket, git_repository **repos) {
+void cleanup(config *cfg, int listen_socket, git_repo **repos) {
if (listen_socket > 0) {
close(listen_socket);
/* Is this a unix domain socket? */
@@ -197,7 +197,7 @@ void cleanup(config *cfg, int listen_socket, git_repository **repos) {
int main(int argc, char **argv) {
config *cfg = NULL;
- git_repository **repos = NULL;
+ git_repo **repos = NULL;
char *config_file = "test.conf";
int config_read = 0;
int listen_socket = -1;