diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-04 15:02:44 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-04 15:02:44 +0000 |
commit | 795acd9cae5084645e86608d864207db4cd15610 (patch) | |
tree | fe59e66992f429bff6c6af8f42f6de9783244ee2 /channels/chan_console.c | |
parent | 158dd74355df1fe56a1b5b5c4b01f240202ac9c6 (diff) |
Merged revisions 135439 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r135439 | russell | 2008-08-04 10:02:12 -0500 (Mon, 04 Aug 2008) | 4 lines
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/branches/1.6.0@135440 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_console.c')
-rw-r--r-- | channels/chan_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_console.c b/channels/chan_console.c index 7911b55b3..bafb69555 100644 --- a/channels/chan_console.c +++ b/channels/chan_console.c @@ -1396,7 +1396,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) |