summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2022-06-18 10:04:14 -0400
committerAllen Winter <allen.winter@kdab.com>2022-06-18 10:04:14 -0400
commit829cc9f0610c0f6ac296a8f551bad360767f60a7 (patch)
tree487a70ea379a70319d94597ecb537425d144c8e2 /src
parent813da5905f31cb7a62eecd3839bcaa02abe00d33 (diff)
downloadlibical-git-829cc9f0610c0f6ac296a8f551bad360767f60a7.tar.gz
src/test/test-malloc.[c,h] - fix misspelling
Diffstat (limited to 'src')
-rw-r--r--src/test/test-malloc.c2
-rw-r--r--src/test/test-malloc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-malloc.c b/src/test/test-malloc.c
index d9c46995..6a29d211 100644
--- a/src/test/test-malloc.c
+++ b/src/test/test-malloc.c
@@ -164,7 +164,7 @@ void testmalloc_reset() {
global_testmalloc_remaining_attempts = -1;
}
-/** Sets the maximum number of malloc or realloc attemts that will succeed. If
+/** Sets the maximum number of malloc or realloc attempts that will succeed. If
* the number is negative, no limit will be applied. */
void testmalloc_set_max_successful_allocs(int n) {
global_testmalloc_remaining_attempts = n;
diff --git a/src/test/test-malloc.h b/src/test/test-malloc.h
index 04858bae..6d1df55a 100644
--- a/src/test/test-malloc.h
+++ b/src/test/test-malloc.h
@@ -50,7 +50,7 @@ LIBICAL_ICAL_EXPORT void test_free(void *p);
*/
LIBICAL_ICAL_EXPORT void testmalloc_reset();
-/** Sets the maximum number of malloc or realloc attemts that will succeed. If
+/** Sets the maximum number of malloc or realloc attempts that will succeed. If
* the number is negative, no limit will be applied.
*/
LIBICAL_ICAL_EXPORT void testmalloc_set_max_successful_allocs(int n);