]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Get rid of some inaccurate comments.
authorMark Michelson <mmichelson@digium.com>
Mon, 11 Nov 2013 19:26:08 +0000 (19:26 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 11 Nov 2013 19:26:08 +0000 (19:26 +0000)
I'm doing some unrelated work in app_confbridge and finding
these "invalid pin" comments to be annoying. Get out!

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@402686 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_confbridge.c

index 5e7360392226b92c4144f0e18d1f6cb874e5de92..9fc3af3ad3b555b29d1cff3c18b1042ff30d31bb 100644 (file)
@@ -1582,7 +1582,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;
        }
 
@@ -1633,7 +1633,7 @@ static int confbridge_exec(struct ast_channel *chan, const char *data)
                if (conf_set_menu_to_user(conference_bridge_user.menu_name, &conference_bridge_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;
                }
        }
@@ -1655,7 +1655,7 @@ static int confbridge_exec(struct ast_channel *chan, const char *data)
        if (ast_test_flag(&conference_bridge_user.u_profile, USER_OPT_TALKER_DETECT)) {
                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;
                }
                ast_bridge_features_set_talk_detector(&conference_bridge_user.features,
@@ -1666,7 +1666,7 @@ static int confbridge_exec(struct ast_channel *chan, const char *data)
 
        /* Look for a conference bridge matching the provided name */
        if (!(conference_bridge = join_conference_bridge(args.conf_name, &conference_bridge_user))) {
-               res = -1; /* invalid PIN */
+               res = -1;
                goto confbridge_cleanup;
        }