Skip to content

Commit

Permalink
core: fixup client new_id handling
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Sep 19, 2024
1 parent f68f159 commit 4d3d80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ std::string WPTypeToCType(const SRequestArgument& arg, bool event /* events pass
}

// iface
if (!arg.interface.empty() && event) {
if (!arg.interface.empty() && (event || clientCode)) {
for (auto& i : XMLDATA.ifaces) {
if (i.name == arg.interface)
return camelize((clientCode ? "CC_" : "C_") + arg.interface + "*");
Expand Down

0 comments on commit 4d3d80f

Please sign in to comment.