mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 16:20:37 +00:00
Fix a reversed-logic ast_strlen_zero.
This problem was pointed out on the asterisk-users list by Jim Dickenson git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2163,7 +2163,7 @@ static int action_originate(struct mansession *s, const struct message *m)
|
|||||||
int format = AST_FORMAT_SLINEAR;
|
int format = AST_FORMAT_SLINEAR;
|
||||||
|
|
||||||
pthread_t th;
|
pthread_t th;
|
||||||
if (!ast_strlen_zero(name)) {
|
if (ast_strlen_zero(name)) {
|
||||||
astman_send_error(s, m, "Channel not specified");
|
astman_send_error(s, m, "Channel not specified");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user