Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix const variables.
Vsevolod Stakhov committed 13 years ago
commit 417a19f13e81c0bf93ee9a2892000bf88a99185b
parent 059393876d4e1c18eb9be8b04c5bf83385af2ed9
1 file changed +2 -2
modified libpkg/pkg_repo.c
@@ -1136,10 +1136,10 @@ substitute_into_sql(char *sqlbuf, size_t buflen, const char *fmt,

static int
apply_repo_change(struct pkgdb *db, const char *database,
-
		  struct repo_changes *repo_changes, const char *updown,
+
		  const struct repo_changes *repo_changes, const char *updown,
		  int version, int *next_version)
{
-
	struct repo_changes	*change;
+
	const struct repo_changes	*change;
	bool			 found = false;
	int			 ret = EPKG_OK;
	char			 sql[BUFSIZ];