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

Collapse All | Expand All

(-)a/main/pbx.c (-2 / +2 lines)
Lines 6878-6891 Link Here
6878
6878
6879
	manager_show_dialplan_helper(s, m, idtext, context, exten, &counters, NULL);
6879
	manager_show_dialplan_helper(s, m, idtext, context, exten, &counters, NULL);
6880
6880
6881
	if (context && !counters.context_existence) {
6881
	if (!ast_strlen_zero(context) && !counters.context_existence) {
6882
		char errorbuf[BUFSIZ];
6882
		char errorbuf[BUFSIZ];
6883
6883
6884
		snprintf(errorbuf, sizeof(errorbuf), "Did not find context %s", context);
6884
		snprintf(errorbuf, sizeof(errorbuf), "Did not find context %s", context);
6885
		astman_send_error(s, m, errorbuf);
6885
		astman_send_error(s, m, errorbuf);
6886
		return 0;
6886
		return 0;
6887
	}
6887
	}
6888
	if (exten && !counters.extension_existence) {
6888
	if (!ast_strlen_zero(exten) && !counters.extension_existence) {
6889
		char errorbuf[BUFSIZ];
6889
		char errorbuf[BUFSIZ];
6890
6890
6891
		if (context)
6891
		if (context)

Return to bug 440278