aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-28 18:32:56 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-28 18:32:56 +0000
commitac52aa8cd647b169554fb09012f69be9b6bd249d (patch)
treec25307d562fc9a5264313a14869bcaa1395f737c /funcs
parent5525846c14b619c422b4b1373a2b600438de9c96 (diff)
* Constify the uid field of channel datastores
* Convert some spaces to tabs in func_volume * Add a note in channel.h making it clear that none of the datastore API calls lock the channel they are given, so the channel should be locked before calling the functions that take a channel argument. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81260 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_volume.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_volume.c b/funcs/func_volume.c
index 79fc13f30..aca13fd47 100644
--- a/funcs/func_volume.c
+++ b/funcs/func_volume.c
@@ -58,8 +58,8 @@ static void destroy_callback(void *data)
/*! \brief Static structure for datastore information */
static const struct ast_datastore_info volume_datastore = {
- .type = "volume",
- .destroy = destroy_callback
+ .type = "volume",
+ .destroy = destroy_callback
};
static int volume_callback(struct ast_audiohook *audiohook, struct ast_channel *chan, struct ast_frame *frame, enum ast_audiohook_direction direction)