Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
file_exists needs 2 arguments not just one
Baptiste Daroussin committed 13 years ago
commit ad9402cff8de9e12dcc32db7006a68e080a55542
parent 8ac02923e58eeb6451bad4fafa948056da2e0a2e
1 file changed +1 -1
modified libpkg/pkg_repo.c
@@ -255,7 +255,7 @@ file_exists(sqlite3_context *ctx, int argc, __unused sqlite3_value **argv)
	char	 cksum[SHA256_DIGEST_LENGTH * 2 +1];

	if (argc != 2) {
-
		sqlite3_result_error(ctx, "Need two arguments", -1);
+
		sqlite3_result_error(ctx, "file_exists needs two argument", -1);
		return;
	}