shithub: riscv

Download patch

ref: 7ae98ac5a62a034204531d2ea233e1851a68c5c1
parent: 1055b951f37e4424f8c759f8cca4677e4fd8f02f
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon May 19 00:56:07 EDT 2014

ip/torrent: use "torrent" as default user agent

--- a/sys/src/cmd/ip/torrent.c
+++ b/sys/src/cmd/ip/torrent.c
@@ -54,7 +54,7 @@
 int port = 6881;
 char *deftrack = "http://exodus.desync.com/announce";
 char *mntweb = "/mnt/web";
-char *useragent = "hjdicks";
+char *useragent = "torrent";
 uchar infohash[20];
 uchar peerid[20];
 int blocksize;