aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/manager.c b/main/manager.c
index e1f42ce8f..20204e203 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -1866,7 +1866,7 @@ static int action_originate(struct mansession *s, const struct message *m)
pthread_t th;
pthread_attr_t attr;
- if (!name) {
+ if (!ast_strlen_zero(name)) {
astman_send_error(s, m, "Channel not specified");
return 0;
}