From 554fe20d805693d962bd41647c5dc075cf7f5261 Mon Sep 17 00:00:00 2001 From: Timo Hirvonen Date: Wed, 28 Jun 2006 12:04:39 +0300 Subject: Make some strings const Signed-off-by: Timo Hirvonen Signed-off-by: Junio C Hamano --- upload-pack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'upload-pack.c') diff --git a/upload-pack.c b/upload-pack.c index 7b86f6965b..2b70c3dcb4 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -95,8 +95,8 @@ static void create_pack_file(void) int i; int args; const char **argv; + const char **p; char *buf; - char **p; if (create_full_pack) { args = 10; @@ -441,7 +441,7 @@ static int receive_needs(void) static int send_ref(const char *refname, const unsigned char *sha1) { - static char *capabilities = "multi_ack thin-pack side-band"; + static const char *capabilities = "multi_ack thin-pack side-band"; struct object *o = parse_object(sha1); if (!o) -- cgit v1.2.3