aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_lock.c')
-rw-r--r--funcs/func_lock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/funcs/func_lock.c b/funcs/func_lock.c
index d6df6d0ef..de8377a9c 100644
--- a/funcs/func_lock.c
+++ b/funcs/func_lock.c
@@ -324,16 +324,19 @@ static int trylock_read(struct ast_channel *chan, const char *cmd, char *data, c
static struct ast_custom_function lock_function = {
.name = "LOCK",
.read = lock_read,
+ .read_max = 2,
};
static struct ast_custom_function trylock_function = {
.name = "TRYLOCK",
.read = trylock_read,
+ .read_max = 2,
};
static struct ast_custom_function unlock_function = {
.name = "UNLOCK",
.read = unlock_read,
+ .read_max = 2,
};
static int unload_module(void)