summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.c2
-rw-r--r--icclient.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index b46f973..a13ead1 100644
--- a/client.c
+++ b/client.c
@@ -57,7 +57,7 @@ void icclient_product(const char *sku, void (*handler)(icclient_response *), voi
request(handler, (void (*)(void *))callback, NULL, "%s", sku);
}
-void icclient_page(const char *path, void (*handler)(icclient_response *))
+void icclient_path(const char *path, void (*handler)(icclient_response *))
{
request(handler, NULL, NULL, "%s", path);
}
diff --git a/icclient.h b/icclient.h
index b962a24..ddbca9f 100644
--- a/icclient.h
+++ b/icclient.h
@@ -60,7 +60,7 @@ void icclient_catalog(const char *prod_group, void (*handler)(icclient_response
*/
void icclient_product(const char *sku, void (*handler)(icclient_response *), void (*callback)(struct icclient_product *));
-void icclient_page(const char *path, void (*handler)(icclient_response *));
+void icclient_path(const char *path, void (*handler)(icclient_response *));
void icclient_free_product(struct icclient_product *product);