Commit Diff


commit - ffb5f621a9d5d1330a020a5da4a75e98c0cf62f0
commit + 01538ce4935fe05e87ef376f1ef3650b11731ca7
blob - a0450849b64f0b0c3fa6df5601789184086443cc
blob + 93f8ca43c79a6d484e743add62d5a09d12e40970
--- libexec/got-fetch-pack/got-fetch-pack.c
+++ libexec/got-fetch-pack/got-fetch-pack.c
@@ -317,7 +317,7 @@ match_capability(char **my_capabilities, const char *c
 }
 
 static const struct got_error *
-add_symref(struct got_pathlist_head *symrefs, const char *capa)
+add_symref(struct got_pathlist_head *symrefs, char *capa)
 {
 	const struct got_error *err = NULL;
 	char *colon, *name = NULL, *target = NULL;