diff options
| author | Patrick Williams <patrick@stwcx.xyz> | 2016-10-17 16:50:53 -0500 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2016-10-20 16:35:51 -0500 |
| commit | 425dc9b6228940596c18cce40b905b2fcc141040 (patch) | |
| tree | e42c60b826792cb2939d9ac098cbb1bdfbe5c6ec /tools | |
| parent | 178e8fc368c181b91707fa4bf3e4c63e4fbad5ac (diff) | |
| download | sdbusplus-425dc9b6228940596c18cce40b905b2fcc141040.tar.gz sdbusplus-425dc9b6228940596c18cce40b905b2fcc141040.zip | |
bus: fix method_return
method_return was using sd_bus_call instead of sd_bus_send.
Fix to use sd_bus_send and move into 'message' directly since
the previous arguments for having it a static method in bus is
no longer valid.
Change-Id: Ib74508e87f7e8be030db02b91368da7639cb28f3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/templates/method.mako.prototype.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/templates/method.mako.prototype.hpp b/tools/templates/method.mako.prototype.hpp index 29d75c8..5e8f2ac 100644 --- a/tools/templates/method.mako.prototype.hpp +++ b/tools/templates/method.mako.prototype.hpp @@ -114,7 +114,7 @@ int ${interface_name()}::_callback_${ method.CamelCase }( reply.append(${returns_as_tuple_index("r")}); % endif - sdbusplus::bus::method_return(reply); + reply.method_return(); return 0; } |

