aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_console.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-04 15:02:12 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-04 15:02:12 +0000
commit51d91542bb543a8dc6e8f8963baffb1c82f53c22 (patch)
tree8d85b45b62479f7976532dc23e8767af3616fc2c /channels/chan_console.c
parentd4ec4c4c3a9e788c04513298ae06efa0d9ebbfce (diff)
Be explicit that we don't want a result from this callback. The callback would
never indicate a match, so nothing would have been returned anyway, but it was still a poor example of proper usage. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135439 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_console.c')
-rw-r--r--channels/chan_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_console.c b/channels/chan_console.c
index 10f77fdc7..6924ade3f 100644
--- a/channels/chan_console.c
+++ b/channels/chan_console.c
@@ -1402,7 +1402,7 @@ static int load_config(int reload)
return -1;
}
- ao2_callback(pvts, 0, pvt_mark_destroy_cb, NULL);
+ ao2_callback(pvts, OBJ_NODATA, pvt_mark_destroy_cb, NULL);
ast_mutex_lock(&globals_lock);
for (v = ast_variable_browse(cfg, "general"); v; v = v->next)