aboutsummaryrefslogtreecommitdiff
path: root/src/itc.c
diff options
context:
space:
mode:
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);
}