From: Jason Parker Date: Tue, 27 Apr 2010 22:47:36 +0000 (+0000) Subject: Fix compile on systems without HAVE_NULLSAFE_PRINTF defined. X-Git-Tag: 11.0.0-beta1~3106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f5a3370addb048ad828f9b237264fb20e2b44af;p=thirdparty%2Fasterisk.git Fix compile on systems without HAVE_NULLSAFE_PRINTF defined. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@259617 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_agi.c b/res/res_agi.c index d0ba17e8d2..4665724233 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -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