From 7bc770ceb62ede18414b7bb5788692e32477e373 Mon Sep 17 00:00:00 2001 From: Jon Loeliger Date: Tue, 31 Jan 2017 14:03:33 -0600 Subject: Convert message macro S to accept a message pointer parameter; Rather than blindly assume an unbound, fixed message parameter explicilty pass it as a paramter to the S() macro. Change-Id: Ieea1f1815cadd2eec7d9240408d69acdc3caa49a Signed-off-by: Jon Loeliger --- src/examples/sample-plugin/sample/sample_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/examples') diff --git a/src/examples/sample-plugin/sample/sample_test.c b/src/examples/sample-plugin/sample/sample_test.c index 5dcee809844..bf7a0590e34 100644 --- a/src/examples/sample-plugin/sample/sample_test.c +++ b/src/examples/sample-plugin/sample/sample_test.c @@ -122,7 +122,7 @@ static int api_sample_macswap_enable_disable (vat_main_t * vam) mp->enable_disable = enable_disable; /* send it... */ - S; + S(mp); /* Wait for a reply... */ W; -- cgit 1.2.3-korg