From a87b92cdb89bb382f70cb95da07208cef52ac6df Mon Sep 17 00:00:00 2001 From: jpeeler Date: Fri, 22 Aug 2008 21:36:13 +0000 Subject: (closes issue #13359) Reported by: Laureano Patches: originate_channel_check.patch uploaded by Laureano (license 265) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@139621 f38db490-d61c-443f-a65b-d21fe96a405b --- main/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3