Summary:ASTERISK-05003: [patch] Janitor task: Move from ast_exists_extension to ast_goto_if_exists
Reporter:Olle Johansson (oej)Labels:
Date Opened:2005-09-06 04:46:19Date Closed:2008-01-15 15:48:30.000-0600
Versions:Frequency of
Environment:Attachments:( 0) astgotoifexists.txt
Description:This patch changes many applications from ast_exists_extension to ast_goto_if_exists. Some whitespace changes is included as a bonus.

This was done as a janitor task with no brain, only editing. It compiles, but I haven't tested. Please help me check this code.

I know that this does not complete *all* janitor tasks - like option_jump and status variables - it is only one small step forward. Please help us complete more janitor tasks if you are upset by this!
Comments:By: Kevin P. Fleming (kpfleming) 2005-09-07 15:13:13

Committed to CVS HEAD with minor mods to compile properly... tsk tsk!

By: Digium Subversion (svnbot) 2008-01-15 15:47:21.000-0600

Repository: asterisk
Revision: 6533

U   trunk/apps/app_authenticate.c
U   trunk/apps/app_chanisavail.c
U   trunk/apps/app_dial.c
U   trunk/apps/app_directory.c
U   trunk/apps/app_disa.c
U   trunk/apps/app_groupcount.c
U   trunk/apps/app_hasnewvoicemail.c
U   trunk/apps/app_lookupblacklist.c
U   trunk/apps/app_md5.c
U   trunk/apps/app_meetme.c
U   trunk/apps/app_osplookup.c
U   trunk/apps/app_playback.c
U   trunk/apps/app_privacy.c
U   trunk/apps/app_queue.c
U   trunk/apps/app_talkdetect.c
U   trunk/apps/app_txtcidname.c
U   trunk/apps/app_voicemail.c

r6533 | kpfleming | 2008-01-15 15:47:21 -0600 (Tue, 15 Jan 2008) | 2 lines

convert a bunch of apps to use ast_goto_if_exists() (issue ASTERISK-5003)



By: Digium Subversion (svnbot) 2008-01-15 15:48:30.000-0600

Repository: asterisk
Revision: 6609

U   trunk/apps/app_directory.c

r6609 | kpfleming | 2008-01-15 15:48:30 -0600 (Tue, 15 Jan 2008) | 2 lines

revert a portion of issue ASTERISK-5003 which broke this app (issue ASTERISK-5092)