Merged revisions 139927 via svnmerge from
authorJeff Peeler <jpeeler@digium.com>
Mon, 25 Aug 2008 21:48:51 +0000 (21:48 +0000)
committerJeff Peeler <jpeeler@digium.com>
Mon, 25 Aug 2008 21:48:51 +0000 (21:48 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139927 | jpeeler | 2008-08-25 16:47:33 -0500 (Mon, 25 Aug 2008) | 3 lines

Fix a typo I made. Lesson learned, apply the patch if one exists.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@139928 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/manager.c

index 7bfdb1f..6d2c47f 100644 (file)
@@ -2337,7 +2337,7 @@ static int action_originate(struct mansession *s, const struct message *m)
        int format = AST_FORMAT_SLINEAR;
 
        pthread_t th;
-       if (!ast_strlen_zero(name)) {
+       if (ast_strlen_zero(name)) {
                astman_send_error(s, m, "Channel not specified");
                return 0;
        }