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

(-)sftp.c (-1 / +1 lines)
Lines 1904-1910 complete_match(EditLine *el, struct sftp Link Here
1904
	lf = el_line(el);
1904
	lf = el_line(el);
1905
	if (g.gl_matchc == 1) {
1905
	if (g.gl_matchc == 1) {
1906
		i = 0;
1906
		i = 0;
1907
		if (!terminated)
1907
		if (!terminated && quote != '\0')
1908
			ins[i++] = quote;
1908
			ins[i++] = quote;
1909
		if (*(lf->cursor - 1) != '/' &&
1909
		if (*(lf->cursor - 1) != '/' &&
1910
		    (lastarg || *(lf->cursor) != ' '))
1910
		    (lastarg || *(lf->cursor) != ' '))

Return to bug 2238