ref: ea36d9b4eafe2d8db736f069a8f5944cde115bb7
parent: 3b8f99d834e0be3b0a7ef5e47224a8f6077e3656
author: Jacob Moody <moody@posixcafe.org>
date: Mon Jul 28 06:05:15 EDT 2025
s3cp: fix typo
--- a/s3cp.c
+++ b/s3cp.c
@@ -240,7 +240,7 @@
s3.host += 3;
if(strstr(argv[0], "s3://")==argv[0]){
- if(strstr(argv[0], "s3://")==argv[1])
+ if(strstr(argv[1], "s3://")==argv[1])
sysfatal("s3:// → s3:// not implemented");
s3.bucket = strdup(argv[0]+5);
localpath = strdup(argv[1]);
--
⑨