diff options
author | Timo Hirvonen <tihirvon@gmail.com> | 2006-06-28 12:04:39 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-28 03:24:37 -0700 |
commit | 554fe20d805693d962bd41647c5dc075cf7f5261 (patch) | |
tree | 09cba2467ab73d87d6567ee472b74cc27632ad6e /http-push.c | |
parent | 66eb64cba64a26dbf2b1d4e319d6514696154fee (diff) | |
download | git-554fe20d805693d962bd41647c5dc075cf7f5261.tar.gz |
Make some strings const
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http-push.c')
-rw-r--r-- | http-push.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http-push.c b/http-push.c index 3c89a17496..e281f70e54 100644 --- a/http-push.c +++ b/http-push.c @@ -1274,7 +1274,7 @@ xml_cdata(void *userData, const XML_Char *s, int len) strlcpy(ctx->cdata, s, len + 1); } -static struct remote_lock *lock_remote(char *path, long timeout) +static struct remote_lock *lock_remote(const char *path, long timeout) { struct active_request_slot *slot; struct slot_results results; @@ -2130,7 +2130,7 @@ static int remote_exists(const char *path) return -1; } -static void fetch_symref(char *path, char **symref, unsigned char *sha1) +static void fetch_symref(const char *path, char **symref, unsigned char *sha1) { char *url; struct buffer buffer; |