Skip to content

Commit

Permalink
Update rbus.c
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeeptakdas authored Oct 2, 2024
1 parent d10c965 commit f4a63d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rbus/rbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -2715,7 +2715,7 @@ static int _callback_handler(char const* destination, char const* method, rbusMe
/* For the components register directly with rbus_open,
* return success for getAttributes with 0 parameters.*/
rbusMessage_Init(response);
rbusMessage_SetInt32(*response, RBUS_ERROR_SUCCESS);
rbusMessage_SetInt32(*response, RBUS_ERROR_INVALID_METHOD);
}
else if(!strcmp(method, METHOD_SUBSCRIBE) || !strcmp(method, METHOD_UNSUBSCRIBE))
{
Expand Down

0 comments on commit f4a63d5

Please sign in to comment.