Many thanks to mvanbaak for his update to translate hints; I added the -d option for local testing purposes. This is from bug 10472

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79736 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Steve Murphy
2007-08-16 19:40:28 +00:00
parent 6186647ac3
commit c0060cd99a
2 changed files with 32 additions and 5 deletions

View File

@@ -343,7 +343,7 @@ static void print_pval(FILE *fin, pval *item, int depth)
if ( item->u4.regexten )
fprintf(fin, "regexten ");
if ( item->u3.hints )
fprintf(fin,"hints(%s) ", item->u3.hints);
fprintf(fin,"hint(%s) ", item->u3.hints);
fprintf(fin,"%s => \n", item->u1.str);
print_pval_list(fin,item->u2.statements,depth+1);