aboutsummaryrefslogtreecommitdiff
path: root/src/itc.c
diff options
context:
space:
mode:
authorNicolas Dato <nicolas.dato@gmail.com>2025-07-17 20:52:49 -0300
committerNicolas Dato <nicolas.dato@gmail.com>2025-07-18 07:15:02 -0300
commitb1fcc672448f8403a567cd280c2151eb6d5799cb (patch)
tree995ef80358f3c88807d8034b5ad3f78b54301482 /src/itc.c
parentee208b6f61a4f2f52d6a796acdb0764374d23234 (diff)
downloadlibtuberia-b1fcc672448f8403a567cd280c2151eb6d5799cb.tar.gz
adding documentation
Diffstat (limited to 'src/itc.c')
-rw-r--r--src/itc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/itc.c b/src/itc.c
index 6dc3d41..8ebab3b 100644
--- a/src/itc.c
+++ b/src/itc.c
@@ -46,7 +46,7 @@ void itc_free(itc **ctx, itc_free_element free_element)
*ctx = NULL;
}
-void *itc_retrive(itc *ctx, int timeout_ms)
+void *itc_retrieve(itc *ctx, int timeout_ms)
{
struct timespec ts;
void *element;
@@ -111,7 +111,7 @@ void itc_discard_all(itc *ctx, itc_free_element free_element)
return;
}
- while ((element = itc_retrive(ctx, 0)) != NULL) {
+ while ((element = itc_retrieve(ctx, 0)) != NULL) {
if (free_element != NULL) {
free_element(element);
}