Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 374195 | Differences between
and this patch

Collapse All | Expand All

(-)asterisk-1.6.2.19/channels/chan_dahdi.c.orig (-6 / +7 lines)
Lines 18119-18130 Link Here
18119
			ast_log(LOG_WARNING, "Ignoring any changes to '%s' (on reload) at line %d.\n", v->name, v->lineno);
18119
			ast_log(LOG_WARNING, "Ignoring any changes to '%s' (on reload) at line %d.\n", v->name, v->lineno);
18120
	}
18120
	}
18121
18121
18122
	/* Since confp has already filled invidual dahdi_pvt objects with channels at this point, clear the variables in confp's pvt. */
18123
	if (confp->chan.vars) {
18124
		ast_variables_destroy(confp->chan.vars);
18125
		confp->chan.vars = NULL;
18126
	}
18127
18128
	if (dahdichan[0]) {
18122
	if (dahdichan[0]) {
18129
		/* The user has set 'dahdichan' */
18123
		/* The user has set 'dahdichan' */
18130
		/*< \todo pass proper line number instead of 0 */
18124
		/*< \todo pass proper line number instead of 0 */
Lines 18132-18137 Link Here
18132
			return -1;
18126
			return -1;
18133
		}
18127
		}
18134
	}
18128
	}
18129
18130
	/* Since confp has already filled invidual dahdi_pvt objects with channels at this point, clear the variables in confp's pvt. */
18131
	if (confp->chan.vars) {
18132
		ast_variables_destroy(confp->chan.vars);
18133
		confp->chan.vars = NULL;
18134
	}
18135
18135
	/*< \todo why check for the pseudo in the per-channel section.
18136
	/*< \todo why check for the pseudo in the per-channel section.
18136
	 * Any actual use for manual setup of the pseudo channel? */
18137
	 * Any actual use for manual setup of the pseudo channel? */
18137
	if (!found_pseudo && reload != 1) {
18138
	if (!found_pseudo && reload != 1) {

Return to bug 374195