From: Jonathan Rose Date: Fri, 1 Apr 2011 17:28:33 +0000 (+0000) Subject: Fixing bad line break from 312384 X-Git-Tag: 11.0.0-beta1~1750 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=759bf6b84085fbd331a0f632f0c65477b0ff4496;p=thirdparty%2Fasterisk.git Fixing bad line break from 312384 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@312423 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 1e10d4e947..3f1d9e0518 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -16666,7 +16666,8 @@ static void parse_busy_pattern(struct ast_variable *v, struct ast_dsp_busy_patte for (; ;) { /* Scans the string for the next value in the pattern. If none, it checks to see if any have been entered so far. */ - if(!sscanf(v->value, "%30d", &norval) && count_pattern == 0) { ast_log(LOG_ERROR, "busypattern= expects either busypattern=tonelength,quietlength or busypattern=t1length, q1length, t2length, q2length at line %d.\n", v->lineno); + if(!sscanf(v->value, "%30d", &norval) && count_pattern == 0) { + ast_log(LOG_ERROR, "busypattern= expects either busypattern=tonelength,quietlength or busypattern=t1length, q1length, t2length, q2length at line %d.\n", v->lineno); break; }