projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0058b02
)
Use safe macro practices even though they really aren't necessary.
author
Mark Michelson
<mmichelson@digium.com>
Thu, 9 Apr 2009 17:34:39 +0000
(17:34 +0000)
committer
Mark Michelson
<mmichelson@digium.com>
Thu, 9 Apr 2009 17:34:39 +0000
(17:34 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@187424
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_musiconhold.c
patch
|
blob
|
history
diff --git
a/res/res_musiconhold.c
b/res/res_musiconhold.c
index
ade8d53
..
01920e0
100644
(file)
--- a/
res/res_musiconhold.c
+++ b/
res/res_musiconhold.c
@@
-186,8
+186,8
@@
static struct ao2_container *mohclasses;
static int reload(void);
-#define mohclass_ref(class,string) (ao2_t_ref((class), +1, string), class)
-#define mohclass_unref(class,string) (ao2_t_ref((class), -1, string), (struct mohclass *) NULL)
+#define mohclass_ref(class,string) (ao2_t_ref((class), +1, (string)), class)
+#define mohclass_unref(class,string) (ao2_t_ref((class), -1, (string)), (struct mohclass *) NULL)
static void moh_files_release(struct ast_channel *chan, void *data)
{