dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
russell 2008-08-04 15:02:12 +00:00
parent d4ec4c4c3a
commit 51d91542bb
1 changed files with 1 additions and 1 deletions

View File

@ -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)