]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/bittorrent/bittorrent.factor
core: subseq-index? -> subseq-of?
[factor.git] / extra / bittorrent / bittorrent.factor
index b46b00ad8094f86ed1b658965b4c8b58421e7806..624544575eb0cb25d111261d944a6ccc8da65369 100644 (file)
@@ -73,7 +73,7 @@ M: string load-metainfo
     dup "announce-list" of [ nip first random ] [ "announce" of ] if* ;
 
 : scrape-url ( metainfo -- url/f )
-    announce-url dup path>>  "announce" subseq-index? [
+    announce-url dup path>>  "announce" subseq-of? [
         [ "announce" "scrape" replace ] change-path
     ] [ drop f ] if ;