summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-13 08:20:19 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-13 08:20:19 +0800
commit0a6e2943843ca894abc562ba98bcbf3399769481 (patch)
tree242aa6b3d99d31ad623807d3b584c7896cc3f9e3 /client.c
parent92407d13f552cc7aea38a699d17a69a7096ee89f (diff)
Remove non default handler
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index d693996..a5b45e0 100644
--- a/client.c
+++ b/client.c
@@ -23,7 +23,7 @@ void icclient_results(const char *prod_group, void (*callback)(struct icclient_c
char *space = NULL;
while ((space = strchr(nonspaced, ' ')))
*space = '-';
- request(handler ? handler : icclient_catalog_results, (void *)callback, 0, "%s", nonspaced);
+ request(handler, (void *)callback, 0, "%s", nonspaced);
}
void icclient_flypage(const char *sku, icclient_handler handler, struct icclient_product **productptr)