summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-06-20 09:40:54 -0300
committerWilliam Pitcock <nenolod@dereferenced.org>2017-06-21 18:14:18 +0000
commitf9132fad7605400e38996e8f0145018cc7945940 (patch)
tree7f5a3fee75c1a03f62ae7389f4b6119c88251b4c
parent3d74cd9e8e72f37c6825720b3e5ca1d8d33142e9 (diff)
downloadabuild-f9132fad7605400e38996e8f0145018cc7945940.tar.gz
abuild-f9132fad7605400e38996e8f0145018cc7945940.tar.bz2
abuild-f9132fad7605400e38996e8f0145018cc7945940.tar.xz
abuild-f9132fad7605400e38996e8f0145018cc7945940.zip
abuild-fetch.c: remove saveas- syntax
-rw-r--r--abuild-fetch.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/abuild-fetch.c b/abuild-fetch.c
index ee8f4b9..99133b9 100644
--- a/abuild-fetch.c
+++ b/abuild-fetch.c
@@ -84,9 +84,6 @@ int fetch(char *url, const char *destdir)
name = url;
*p = '\0';
url = p + 2;
- } else if (strstr(url, "saveas-") == url) {
- *name++ = '\0';
- url += 7; /* strlen("saveas-") */
} else {
name++;
}