ref: 3f582617e0d9d4f6f4e9f1e2cdf6ed218c5afb60
parent: 27f60592bfbab953dc68627afd5b36ed196c0157
author: Ori Bernstein <[email protected]>
date: Tue Nov 26 13:19:00 EST 2019
reset 'r' before resolving remote
--- a/fetch.c
+++ b/fetch.c
@@ -30,6 +30,7 @@
return -1;
}
+ r = -1;
s = strip(buf);
if((f = open(s, OREAD)) == -1)
return -1;