Commit cd618286 authored by Max Kellermann's avatar Max Kellermann

httpd: don't pass uninitialized page to httpd_client_check_queue()

The httpd_client_check_queue() callback function does not use its "user_data" argument. Don't pass any, and fix the gcc warning.
parent 5242305a
......@@ -309,7 +309,7 @@ httpd_output_encode_and_play(struct httpd_output *httpd,
return false;
g_mutex_lock(httpd->mutex);
g_list_foreach(httpd->clients, httpd_client_check_queue, page);
g_list_foreach(httpd->clients, httpd_client_check_queue, NULL);
g_mutex_unlock(httpd->mutex);
while ((page = httpd_output_read_page(httpd)) != NULL) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment