From 03f8fa62281b250f2b832a58d49d1b85fadc3338 Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Sun, 15 Feb 2009 22:57:13 -0800 Subject: Pass cb_arg to discover_client_init Pass the client cb_arg to discover_client_init() and have it initialize the structure member. Signed-off-by: Geoff Levand Signed-off-by: Jeremy Kerr --- ui/test/pb-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/test') diff --git a/ui/test/pb-test.c b/ui/test/pb-test.c index b32944f..a1e3007 100644 --- a/ui/test/pb-test.c +++ b/ui/test/pb-test.c @@ -45,7 +45,7 @@ int main(void) { struct discover_client *client; - client = discover_client_init(&client_ops); + client = discover_client_init(&client_ops, NULL); if (!client) return -1; -- cgit v1.2.1