List improvements from kpfleming (bugs #3166,#3140)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-01-01 21:26:37 +00:00
parent b87a692804
commit 7abe9e6c16
6 changed files with 60 additions and 19 deletions

View File

@@ -191,7 +191,7 @@ static int del_identifier(int identifier,int identifier_type) {
AST_LIST_TRAVERSE(headp,i,entries) {
if ((i->identifier==identifier) &&
(i->identifier_type==identifier_type)) {
AST_LIST_REMOVE(headp,i,ast_PGSQL_id,entries);
AST_LIST_REMOVE(headp,i,entries);
free(i);
found=1;
break;