Skip to content

Commit

Permalink
Fix missing optional param flag for cache_add/sub() functions
Browse files Browse the repository at this point in the history
  • Loading branch information
rvlad-patrascu committed Aug 7, 2019
1 parent 6884b3d commit a08cf0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core_cmds.c
Expand Up @@ -277,14 +277,14 @@ static cmd_export_t core_cmds[]={
{CMD_PARAM_STR, 0, 0},
{CMD_PARAM_INT, 0, 0},
{CMD_PARAM_INT, 0, 0},
{CMD_PARAM_VAR, fixup_check_wrvar, 0}, {0,0,0}},
{CMD_PARAM_VAR|CMD_PARAM_OPT, fixup_check_wrvar, 0}, {0,0,0}},
ALL_ROUTES},
{"cache_sub", (cmd_function)w_cache_sub, {
{CMD_PARAM_STR, 0, 0},
{CMD_PARAM_STR, 0, 0},
{CMD_PARAM_INT, 0, 0},
{CMD_PARAM_INT, 0, 0},
{CMD_PARAM_VAR, fixup_check_wrvar, 0}, {0,0,0}},
{CMD_PARAM_VAR|CMD_PARAM_OPT, fixup_check_wrvar, 0}, {0,0,0}},
ALL_ROUTES},
{"cache_raw_query", (cmd_function)w_cache_raw_query, {
{CMD_PARAM_STR, 0, 0},
Expand Down

0 comments on commit a08cf0f

Please sign in to comment.