From 75c812f26d35195bae0e0301ae5fd6b1516775cd Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sun, 6 Nov 2005 14:30:53 +0000 Subject: [PATCH] issue #5622 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6978 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- ChangeLog | 1 + apps/app_externalivr.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 51be21acdc..b46e589eba 100755 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * many files: alphabetize options in applicaiton descriptions * channels/chan_iax2.c: Use an enum to define iax peer/user flags as well as the pvt structure state. Use the ast_flags macros for checking or setting the state. * sounds.txt: Add missing words from the description of the vm-opts prompt + * apps/app_externalivr.c: Add a space that fixes building on older versions of gcc 2005-11-05 Kevin P. Fleming diff --git a/apps/app_externalivr.c b/apps/app_externalivr.c index f6dbc9c9f0..7a34acf676 100755 --- a/apps/app_externalivr.c +++ b/apps/app_externalivr.c @@ -59,7 +59,8 @@ static const char *descrip = "when the channel is hung up.\n" "See doc/README.externalivr for a protocol specification.\n"; -#define ast_chan_log(level, channel, format, ...) ast_log(level, "%s: " format, channel->name, ## __VA_ARGS__) +/* XXX the parser in gcc 2.95 gets confused if you don't put a space between 'name' and the comma */ +#define ast_chan_log(level, channel, format, ...) ast_log(level, "%s: " format, channel->name , ## __VA_ARGS__) struct playlist_entry { AST_LIST_ENTRY(playlist_entry) list;