summaryrefslogtreecommitdiff
path: root/handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'handler.c')
-rw-r--r--handler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/handler.c b/handler.c
index f3e8f70..382184e 100644
--- a/handler.c
+++ b/handler.c
@@ -118,11 +118,11 @@ static void dumpNode(TidyDoc doc, TidyNode tnod, struct icclient_catalog **catal
}
}
-void handle_results(icclient_fetch_t *fetch)
+void handle_results(icclient_response *response)
{
TidyDoc tdoc = tidyCreate();
tidyOptSetBool(tdoc, TidyXhtmlOut, yes);
- tidyParseString(tdoc, fetch->data);
+ tidyParseString(tdoc, response->data);
tidyCleanAndRepair(tdoc);
tidyOptSetBool(tdoc, TidyForceOutput, yes);
TidyBuffer output = {0};
@@ -135,5 +135,5 @@ void handle_results(icclient_fetch_t *fetch)
tidyRelease(tdoc);
if (loc)
freelocale(loc);
- ((void (*)(struct icclient_catalog *))fetch->userData)(catalog);
+ ((void (*)(struct icclient_catalog *))response->userData)(catalog);
}