Fix compile on systems without HAVE_NULLSAFE_PRINTF defined.
authorJason Parker <jparker@digium.com>
Tue, 27 Apr 2010 22:47:36 +0000 (22:47 +0000)
committerJason Parker <jparker@digium.com>
Tue, 27 Apr 2010 22:47:36 +0000 (22:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@259617 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_agi.c

index d0ba17e..4665724 100644 (file)
@@ -3804,7 +3804,7 @@ AST_TEST_DEFINE(test_agi_null_docs)
        if (noop_command.usage == NULL) {
                res = AST_TEST_FAIL;
        }
-       if (noop_command.description == NULL) {
+       if (noop_command.syntax == NULL) {
                res = AST_TEST_FAIL;
        }
 #endif