Fix case statement.
This commit is contained in:
@@ -405,7 +405,8 @@ int menu_sock_send(MenuEntry *me, MenuEntry *parent, int sock)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MT_ARG_ACTION | MT_AUTOMATIC:
|
case MT_AUTOMATIC:
|
||||||
|
case MT_ARG_ACTION:
|
||||||
if (sock_printf(sock, "menu_add_item \"%s\" \"%d\" action \"%s\"\n",
|
if (sock_printf(sock, "menu_add_item \"%s\" \"%d\" action \"%s\"\n",
|
||||||
parent_id, me->id, me->displayname) < 0)
|
parent_id, me->id, me->displayname) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user