summaryrefslogtreecommitdiff
path: root/ord.c
diff options
context:
space:
mode:
Diffstat (limited to 'ord.c')
-rw-r--r--ord.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ord.c b/ord.c
index 4122b57..c1c2d4c 100644
--- a/ord.c
+++ b/ord.c
@@ -1,10 +1,10 @@
#include <stdlib.h>
#include <stdbool.h>
-#include "icclient/client.h"
+#include "icclient/product.h"
#include "icclient/ord.h"
void icclient_ord_free(struct icclient_ord_order *order)
{
for (size_t i = 0; i < order->nitems; i++)
- icclient_freeproduct(order->items[i]->product);
+ icclient_product_free(order->items[i]->product);
}