support spve in 1-argument version too

pull/1/head
Richard Fuchs 13 years ago
parent 77515f66c5
commit 4f07e1627b

@ -82,13 +82,13 @@ static cmd_export_t cmds[] = {
{ "add_path", (cmd_function)add_path, 0,
0, 0, REQUEST_ROUTE },
{ "add_path", (cmd_function)add_path, 1,
fixup_str_null, 0, REQUEST_ROUTE },
fixup_spve_null, 0, REQUEST_ROUTE },
{ "add_path", (cmd_function)add_path, 2,
fixup_spve_spve, 0, REQUEST_ROUTE },
{ "add_path_received", (cmd_function)add_path_received, 0,
0, 0, REQUEST_ROUTE },
{ "add_path_received", (cmd_function)add_path_received, 1,
fixup_str_null, 0, REQUEST_ROUTE },
fixup_spve_null, 0, REQUEST_ROUTE },
{ "add_path_received", (cmd_function)add_path_received, 2,
fixup_spve_spve, 0, REQUEST_ROUTE },
{ 0, 0, 0, 0, 0, 0 }

Loading…
Cancel
Save