X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-push.c;h=d18346c0f5c9ce73f3fe9a1efc7b1b63e7380bb8;hb=4b56cf58a9ee684d47e01d815eccd75252d61da5;hp=ff41a0e183dd3a449f5136c6d1488a31b4a8960b;hpb=620b89cd98219db33ce499c7f8e50d091fe9b598;p=git.git diff --git a/http-push.c b/http-push.c index ff41a0e18..d18346c0f 100644 --- a/http-push.c +++ b/http-push.c @@ -82,8 +82,7 @@ static int helper_status; static struct object_list *objects; -struct repo -{ +struct repo { char *url; char *path; int path_len; @@ -108,8 +107,7 @@ enum transfer_state { COMPLETE }; -struct transfer_request -{ +struct transfer_request { struct object *obj; char *url; char *dest; @@ -127,8 +125,7 @@ struct transfer_request static struct transfer_request *request_queue_head; -struct xml_ctx -{ +struct xml_ctx { char *name; int len; char *cdata; @@ -136,8 +133,7 @@ struct xml_ctx void *userData; }; -struct remote_lock -{ +struct remote_lock { char *url; char *owner; char *token; @@ -156,8 +152,7 @@ struct remote_lock /* Flags that remote_ls passes to callback functions */ #define IS_DIR (1u << 0) -struct remote_ls_ctx -{ +struct remote_ls_ctx { char *path; void (*userFunc)(struct remote_ls_ctx *ls); void *userData;