aboutsummaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-04 20:40:46 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-04 20:40:46 +0000
commitcfb1ef47122283b97ab2e05437c47b6e60f7c54f (patch)
tree6f52bce69ee88362d0b801e94372ecc39c5091d2 /term.c
parentdc76ba74df2442efe2e986ee50e13247a263ed81 (diff)
convert most of the option_*'s to a single ast_flags structure. Also, fix some
formatting, remove some unnecessary casts, and other little code cleanups. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'term.c')
-rw-r--r--term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term.c b/term.c
index 582adb0af..cce515573 100644
--- a/term.c
+++ b/term.c
@@ -80,7 +80,7 @@ int term_init(void)
if (!term)
return 0;
- if (!option_console || option_nocolor || !option_nofork)
+ if (!ast_opt_console || ast_opt_no_color || !ast_opt_no_fork)
return 0;
for (i=0 ;; i++) {