fix invalid client context on graph iteration

The bug was introduced along with the initial code for client end
callback, in 9e9a127a15.

So far the client context is not used in client end callbacks,
thus causing no harm.
This commit is contained in:
Nedko Arnaudov 2012-12-29 16:56:06 +02:00
parent fcb16ae71e
commit 7558eefb1e
1 changed files with 1 additions and 1 deletions

View File

@ -2600,7 +2600,7 @@ ladish_graph_iterate_nodes(
if (client_end_callback != NULL)
{
if (!client_end_callback(callback_context, graph_handle, client_ptr->hidden, client_ptr->client, client_ptr->name, &client_context))
if (!client_end_callback(callback_context, graph_handle, client_ptr->hidden, client_ptr->client, client_ptr->name, client_context))
{
return false;
}