From: Mark Michelson Date: Mon, 11 Nov 2013 19:26:48 +0000 (+0000) Subject: Get rid of some inaccurate comments. X-Git-Tag: 12.0.0-beta2~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d1527fd7ab49207cae6b44d96e78eddc110ca37;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@402687 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_confbridge.c b/apps/app_confbridge.c index d271ce5ffd..ca1def2511 100644 --- a/apps/app_confbridge.c +++ b/apps/app_confbridge.c @@ -1555,7 +1555,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; } @@ -1606,7 +1606,7 @@ static int confbridge_exec(struct ast_channel *chan, const char *data) if (conf_set_menu_to_user(user.menu_name, &user)) { ast_log(LOG_WARNING, "Conference menu %s does not exist and can not be applied to confbridge user.\n", args.menu_name); - res = -1; /* invalid PIN */ + res = -1; goto confbridge_cleanup; } } @@ -1631,7 +1631,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, @@ -1644,7 +1644,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; }