[asterisk-commits] kmoore: branch kmoore/say_alpha_tweaks r397430 - in /team/kmoore/say_alpha_tw...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 22 12:07:22 CDT 2013
Author: kmoore
Date: Thu Aug 22 12:07:20 2013
New Revision: 397430
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=397430
Log:
Fix some whitespace and remove junk code
Modified:
team/kmoore/say_alpha_tweaks/main/pbx.c
team/kmoore/say_alpha_tweaks/res/res_agi.c
Modified: team/kmoore/say_alpha_tweaks/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/say_alpha_tweaks/main/pbx.c?view=diff&rev=397430&r1=397429&r2=397430
==============================================================================
--- team/kmoore/say_alpha_tweaks/main/pbx.c (original)
+++ team/kmoore/say_alpha_tweaks/main/pbx.c Thu Aug 22 12:07:20 2013
@@ -819,14 +819,6 @@
AST_APP_OPTION('p', BACKGROUND_PLAYBACK),
});
-#define SAYALPHA_CASE_INSENSITIVE (1 << 0)
-#define SAYALPHA_CASE_SENSITIVE (1 << 1)
-
-AST_APP_OPTIONS(sayalpha_opts, {
- AST_APP_OPTION('i', SAYALPHA_CASE_INSENSITIVE),
- AST_APP_OPTION('s', SAYALPHA_CASE_SENSITIVE),
-});
-
#define WAITEXTEN_MOH (1 << 0)
#define WAITEXTEN_DIALTONE (1 << 1)
@@ -11334,16 +11326,16 @@
}
switch (args.options[0]) {
- case 'a':
+ case 'a':
sensitivity = AST_SAY_CASE_ALL;
break;
- case 'l':
+ case 'l':
sensitivity = AST_SAY_CASE_LOWER;
break;
- case 'n':
+ case 'n':
sensitivity = AST_SAY_CASE_NONE;
break;
- case 'u':
+ case 'u':
sensitivity = AST_SAY_CASE_UPPER;
break;
default:
Modified: team/kmoore/say_alpha_tweaks/res/res_agi.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/say_alpha_tweaks/res/res_agi.c?view=diff&rev=397430&r1=397429&r2=397430
==============================================================================
--- team/kmoore/say_alpha_tweaks/res/res_agi.c (original)
+++ team/kmoore/say_alpha_tweaks/res/res_agi.c Thu Aug 22 12:07:20 2013
@@ -2321,23 +2321,23 @@
if (argc > 4) {
switch (argv[4][0]) {
- case 'a':
- case 'A':
+ case 'a':
+ case 'A':
sensitivity = AST_SAY_CASE_ALL;
break;
- case 'l':
- case 'L':
+ case 'l':
+ case 'L':
sensitivity = AST_SAY_CASE_LOWER;
break;
- case 'n':
- case 'N':
+ case 'n':
+ case 'N':
sensitivity = AST_SAY_CASE_NONE;
break;
- case 'u':
- case 'U':
+ case 'u':
+ case 'U':
sensitivity = AST_SAY_CASE_UPPER;
break;
- case '\0':
+ case '\0':
break;
default:
return RESULT_SHOWUSAGE;
More information about the asterisk-commits
mailing list