mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
committed by
Christian Decker
parent
428da65fb1
commit
1851ebbc56
@@ -284,7 +284,7 @@ static bool param_arr(struct command *cmd, const char *buffer,
|
||||
{
|
||||
#if DEVELOPER
|
||||
if (!check_params(params)) {
|
||||
command_fail(cmd, PARAM_DEV_ERROR, "programmer error");
|
||||
command_fail(cmd, PARAM_DEV_ERROR, "developer error");
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
@@ -312,7 +312,7 @@ bool param(struct command *cmd, const char *buffer,
|
||||
void *arg = va_arg(ap, void *);
|
||||
size_t argsize = va_arg(ap, size_t);
|
||||
if (!param_add(¶ms, name, required, cb, arg, argsize)) {
|
||||
command_fail(cmd, PARAM_DEV_ERROR, "programmer error");
|
||||
command_fail(cmd, PARAM_DEV_ERROR, "developer error");
|
||||
va_end(ap);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user