[master] a24ad62d5 Rename argument from "try" to "attempt"
Poul-Henning Kamp
phk at FreeBSD.org
Tue Jun 13 05:57:09 UTC 2023
commit a24ad62d510f5d570e4ef677a61b304232099f85
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Jun 12 18:27:22 2023 +0000
Rename argument from "try" to "attempt"
diff --git a/bin/varnishd/cache/cache_lck.c b/bin/varnishd/cache/cache_lck.c
index 3de001cf0..cccf48cc1 100644
--- a/bin/varnishd/cache/cache_lck.c
+++ b/bin/varnishd/cache/cache_lck.c
@@ -59,7 +59,8 @@ struct ilck {
/*--------------------------------------------------------------------*/
static void
-Lck_Witness_Lock(const struct ilck *il, const char *p, int l, const char *try)
+Lck_Witness_Lock(const struct ilck *il, const char *p, int l,
+ const char *attempt)
{
char *q, t[10]; //lint -e429
int emit;
@@ -74,7 +75,7 @@ Lck_Witness_Lock(const struct ilck *il, const char *p, int l, const char *try)
emit = *q != '\0';
strcat(q, " ");
strcat(q, il->w);
- strcat(q, try);
+ strcat(q, attempt);
strcat(q, ",");
strcat(q, p);
strcat(q, ",");
More information about the varnish-commit
mailing list