diff options
author | Sean Bright <sean@malleable.com> | 2012-03-08 17:02:52 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2012-03-08 17:02:52 +0000 |
commit | 99bd5b1e2e70160b2d3f6dcbd122b06654c17788 (patch) | |
tree | db17db12c4d7846442c746f0997325801cb96415 /channels/chan_oss.c | |
parent | a8116350bc47069650de7d08353d8c1c6d6bfe4b (diff) |
Eliminate a bunch of shadow warnings.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_oss.c')
-rw-r--r-- | channels/chan_oss.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/channels/chan_oss.c b/channels/chan_oss.c index ddd559af1..ca26e7922 100644 --- a/channels/chan_oss.c +++ b/channels/chan_oss.c @@ -1099,16 +1099,16 @@ static char *console_dial(struct ast_cli_entry *e, int cmd, struct ast_cli_args if (o->owner) { /* already in a call */ int i; struct ast_frame f = { AST_FRAME_DTMF, { 0 } }; - const char *s; + const char *digits; if (a->argc == e->args) { /* argument is mandatory here */ ast_cli(a->fd, "Already in a call. You can only dial digits until you hangup.\n"); return CLI_FAILURE; } - s = a->argv[e->args]; + digits = a->argv[e->args]; /* send the string one char at a time */ - for (i = 0; i < strlen(s); i++) { - f.subclass.integer = s[i]; + for (i = 0; i < strlen(digits); i++) { + f.subclass.integer = digits[i]; ast_queue_frame(o->owner, &f); } return CLI_SUCCESS; |