mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
Fix trunk so that it compiles again
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3078,8 +3078,8 @@ static int handle_core_dumpappdocs(int fd, int argc, char *argv[])
|
||||
|
||||
fprintf(f, "%% This file is automatically generated. Any manual edits will be lost.\n");
|
||||
|
||||
AST_LIST_LOCK(&apps);
|
||||
AST_LIST_TRAVERSE(&apps, app, list) {
|
||||
AST_RWLIST_RDLOCK(&apps);
|
||||
AST_RWLIST_TRAVERSE(&apps, app, list) {
|
||||
if (appname && strcasecmp(app->name, appname))
|
||||
continue;
|
||||
|
||||
@@ -3096,7 +3096,7 @@ static int handle_core_dumpappdocs(int fd, int argc, char *argv[])
|
||||
if (appname)
|
||||
break;
|
||||
}
|
||||
AST_LIST_UNLOCK(&apps);
|
||||
AST_RWLIST_UNLOCK(&apps);
|
||||
|
||||
fclose(f);
|
||||
|
||||
|
Reference in New Issue
Block a user