summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2022-10-07 09:47:09 -0400
committerAllen Winter <allen.winter@kdab.com>2022-10-07 09:51:04 -0400
commitd88b09622acf637b07fa86714f9fad9618f8d6e4 (patch)
treeb63e472eb8e4ad674f0a7e064361bcf462f655ae /src/test
parent6c0a830af64fb40d1db0f32135dc30c280af6cca (diff)
parentd67034b31cebe0db3ca65342813336b123921a15 (diff)
downloadlibical-git-d88b09622acf637b07fa86714f9fad9618f8d6e4.tar.gz
Merge branch '3.0'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/regression.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/regression.c b/src/test/regression.c
index d00979c3..4dfe2a19 100644
--- a/src/test/regression.c
+++ b/src/test/regression.c
@@ -2409,7 +2409,7 @@ void test_fblist()
char *strp = out_str;
for (i = 0; foo[i] != -1; i++) {
- snprintf(strp, 79, "%1d", foo[i]);
+ snprintf(strp, 79-i, "%1d", foo[i]);
strp++;
}
str_is("Checking freebusy validity", out_str, "1121110");