View | Details | Raw Unified | Return to bug 1768 | Differences between
and this patch

Collapse All | Expand All

(-)scp.c (-1 / +1 lines)
Lines 417-423 main(int argc, char **argv) Link Here
417
	}
417
	}
418
	if (argc < 2)
418
	if (argc < 2)
419
		usage();
419
		usage();
420
	if (argc > 2)
420
	if (argc > 2 || argv[1][strlen(argv[1]) - 1] == '/')
421
		targetshouldbedirectory = 1;
421
		targetshouldbedirectory = 1;
422
422
423
	remin = remout = -1;
423
	remin = remout = -1;

Return to bug 1768