diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-07-26 15:49:18 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-07-26 15:49:18 +0000 |
commit | f8483a0d04f73e9d4c4f665efd5397cf96b17510 (patch) | |
tree | de4bd130dafa592858306d2ac6bcc5f85fd51cc8 /apps/app_meetme.c | |
parent | 51e7035dfeca1def3070ca65f18153ee1d340ba9 (diff) |
Do a massive conversion for using the ast_verb() macro
(closes issue #10277, patches by mvanbaak)
Basically, this changes ...
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3, "Something\n");
to ...
ast_verb(3, "Something\n");
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r-- | apps/app_meetme.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 207ddf61a..63e8be49d 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -826,8 +826,7 @@ static struct ast_conference *build_conf(char *confno, char *pin, char *pinadmin /* Fill the conference struct */ cnf->start = time(NULL); cnf->isdynamic = dynamic ? 1 : 0; - if (option_verbose > 2) - ast_verbose(VERBOSE_PREFIX_3 "Created MeetMe conference %d for conference '%s'\n", cnf->zapconf, cnf->confno); + ast_verb(3, "Created MeetMe conference %d for conference '%s'\n", cnf->zapconf, cnf->confno); AST_LIST_INSERT_HEAD(&confs, cnf, list); /* Reserve conference number in map */ @@ -1463,7 +1462,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c snprintf(recordingtmp, sizeof(recordingtmp), "wav"); conf->recordingformat = ast_strdupa(recordingtmp); } - ast_verbose(VERBOSE_PREFIX_4 "Starting recording of MeetMe Conference %s into file %s.%s.\n", + ast_verb(4, "Starting recording of MeetMe Conference %s into file %s.%s.\n", conf->confno, conf->recordingfilename, conf->recordingformat); } } |