Skip to content

Commit 5f4ebc6

Browse files
committed
fixup! Change socket of states related operation to the state instead of session
1 parent 6e1a37a commit 5f4ebc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/lunatik.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ int lunatik_closestate(struct lunatik_nl_state *state)
249249
}
250250

251251
int lunatik_dostring(struct lunatik_nl_state *state,
252-
const char *script, const char *script_name, size_t total_code_size)
252+
const char *script, const char *script_name, size_t total_code_size)
253253
{
254254
int err = -1;
255255
int parts = 0;
@@ -533,7 +533,7 @@ static int response_state_handler(struct nl_msg *msg, void *arg)
533533
struct lunatik_nl_state *state = (struct lunatik_nl_state *)arg;
534534

535535
if (nla_parse(attrs_tb, ATTRS_COUNT, genlmsg_attrdata(gnlh, 0),
536-
genlmsg_attrlen(gnlh, 0), NULL))
536+
genlmsg_attrlen(gnlh, 0), NULL))
537537
{
538538
printf("Error parsing attributes\n");
539539
state->cb_result = CB_ERROR;

0 commit comments

Comments
 (0)