diff --git a/lib/qlibc b/lib/qlibc index c53f60c..558c3fd 160000 --- a/lib/qlibc +++ b/lib/qlibc @@ -1 +1 @@ -Subproject commit c53f60c75a2b4f6dc24d784918fda6be1d8eea1f +Subproject commit 558c3fd263d365b88a75d7c333648c0a68613fe9 diff --git a/src/ad_http_handler.c b/src/ad_http_handler.c index 04cad6e..b23e700 100644 --- a/src/ad_http_handler.c +++ b/src/ad_http_handler.c @@ -329,7 +329,7 @@ size_t ad_http_send_header(ad_conn_t *conn) { http->request.httpver, http->response.code, reason); // Send headers. - qdlnobj_t obj; + qlisttbl_obj_t obj; bzero((void*) &obj, sizeof(obj)); qlisttbl_t *tbl = http->response.headers; tbl->lock(tbl); diff --git a/src/ad_server.c b/src/ad_server.c index 0143bb2..b68acd0 100644 --- a/src/ad_server.c +++ b/src/ad_server.c @@ -799,8 +799,8 @@ static int call_hooks(short event, ad_conn_t *conn) { DEBUG("call_hooks: event 0x%x", event); qlist_t *hooks = conn->server->hooks; - qdlobj_t obj; - bzero((void *)&obj, sizeof(qdlobj_t)); + qlist_obj_t obj; + bzero((void *)&obj, sizeof(qlist_obj_t)); while (hooks->getnext(hooks, &obj, false) == true) { ad_hook_t *hook = (ad_hook_t *)obj.data; if (hook->cb) {