aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-06 14:30:53 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-06 14:30:53 +0000
commit07d34af56d8086e3984209b306dbe03fffa1ff4a (patch)
treee2508c47c40093e022d1832871eb46b52962e610
parentb4afcfad32585a4d7a8700bfa0ccac0d5227612b (diff)
issue #5622
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6978 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xChangeLog1
-rwxr-xr-xapps/app_externalivr.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 51be21acd..b46e589eb 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 <kpfleming@digium.com>
diff --git a/apps/app_externalivr.c b/apps/app_externalivr.c
index f6dbc9c9f..7a34acf67 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;