summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2013-11-11 19:31:40 +0000
committerMark Michelson <mmichelson@digium.com>2013-11-11 19:31:40 +0000
commit92cf776119a6758be4335f1098f05b3305b95237 (patch)
tree78261cbd2931501d7e8d8f9839776609b6b72947 /apps
parent483d127d5506c942e41af05d1ba9d5881f1a172b (diff)
Get rid of some inaccurate comments.
I'm doing some unrelated work in app_confbridge and finding these "invalid pin" comments to be annoying. Get out! ........ Merged revisions 402686 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 402687 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_confbridge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_confbridge.c b/apps/app_confbridge.c
index dfae42566..2e7f437b1 100644
--- a/apps/app_confbridge.c
+++ b/apps/app_confbridge.c
@@ -1560,7 +1560,7 @@ static int confbridge_exec(struct ast_channel *chan, const char *data)
if (ast_strlen_zero(data)) {
ast_log(LOG_WARNING, "%s requires an argument (conference name[,options])\n", app);
- res = -1; /* invalid PIN */
+ res = -1;
goto confbridge_cleanup;
}
@@ -1639,7 +1639,7 @@ static int confbridge_exec(struct ast_channel *chan, const char *data)
char *conf_name = ast_strdup(args.conf_name); /* this is freed during feature cleanup */
if (!conf_name) {
- res = -1; /* invalid PIN */
+ res = -1;
goto confbridge_cleanup;
}
if (ast_bridge_talk_detector_hook(&user.features, conf_handle_talker_cb,
@@ -1652,7 +1652,7 @@ static int confbridge_exec(struct ast_channel *chan, const char *data)
/* Look for a conference bridge matching the provided name */
if (!(conference = join_conference_bridge(args.conf_name, &user))) {
- res = -1; /* invalid PIN */
+ res = -1;
goto confbridge_cleanup;
}