diff --git a/ChangeLog b/ChangeLog index c7823b0d3e..fc13a76c57 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-11-15 Kevin P. Fleming + * apps/app_playback.c (playback_exec): use correct logic tests for options (issue #5752) + * apps/app_disa.c (disa_exec): use standard arg parsing routines (issue #5736) 2005-11-15 Russell Bryant diff --git a/apps/app_playback.c b/apps/app_playback.c index 485e735199..ed33097ab3 100755 --- a/apps/app_playback.c +++ b/apps/app_playback.c @@ -99,9 +99,9 @@ static int playback_exec(struct ast_channel *chan, void *data) AST_STANDARD_APP_ARGS(args, tmp); if (args.options) { - if (!strcasestr(args.options, "skip")) + if (strcasestr(args.options, "skip")) option_skip = 1; - if (!strcasestr(args.options, "noanswer")) + if (strcasestr(args.options, "noanswer")) option_noanswer = 1; if (strchr(args.options, 'j')) priority_jump = 1;