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.
This commit is contained in:
parent
5242305a90
commit
cd6182862a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue