Add helper function for uri handing in scp where a missing path
authormillert <millert@openbsd.org>
Mon, 18 Dec 2017 17:28:54 +0000 (17:28 +0000)
committermillert <millert@openbsd.org>
Mon, 18 Dec 2017 17:28:54 +0000 (17:28 +0000)
commitacfd13d60a953aecfad877118eca596b139239cf
tree1ef98ba6dec72d0eab56bc76c2ba346df8604303
parentd76821b9abada077bc28ffa95c77ed7c4db7affc
Add helper function for uri handing in scp where a missing path
simply means ".".  Also fix exit code and add warnings when an
invalid uri is encountered.  OK otto@
usr.bin/ssh/scp.c