View | Details | Raw Unified | Return to bug 2213
Collapse All | Expand All

(-)channels.c.orig (-2 / +2 lines)
Lines 4037-4043 Link Here
4037
	 * hostname:d[.s], where hostname may also be numeric IP address.
4037
	 * hostname:d[.s], where hostname may also be numeric IP address.
4038
	 */
4038
	 */
4039
	strlcpy(buf, display, sizeof(buf));
4039
	strlcpy(buf, display, sizeof(buf));
4040
	cp = strchr(buf, ':');
4040
	cp = strrchr(buf, ':');
4041
	if (!cp) {
4041
	if (!cp) {
4042
		error("Could not find ':' in DISPLAY: %.100s", display);
4042
		error("Could not find ':' in DISPLAY: %.100s", display);
4043
		return -1;
4043
		return -1;
Lines 4184-4190 Link Here
4184
		return;
4184
		return;
4185
	}
4185
	}
4186
4186
4187
	cp = strchr(disp, ':');
4187
	cp = strrchr(disp, ':');
4188
	if (cp)
4188
	if (cp)
4189
		cp = strchr(cp, '.');
4189
		cp = strchr(cp, '.');
4190
	if (cp)
4190
	if (cp)

Return to bug 2213