summaryrefslogtreecommitdiff
path: root/net-p2p/lopster/files/patch-src-napster.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/lopster/files/patch-src-napster.c')
-rw-r--r--net-p2p/lopster/files/patch-src-napster.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/net-p2p/lopster/files/patch-src-napster.c b/net-p2p/lopster/files/patch-src-napster.c
new file mode 100644
index 000000000000..fed12dede824
--- /dev/null
+++ b/net-p2p/lopster/files/patch-src-napster.c
@@ -0,0 +1,19 @@
+--- src/napster.c.orig Sat Aug 28 23:27:09 2004
++++ src/napster.c Sun Jul 10 14:46:50 2005
+@@ -717,11 +717,13 @@
+ global.linespeed,
+ email?email:"anon@anon");
+ #else
+- size = sprintf(text+4, "%s %s %d \"Lopster %s\" %d",
++ size = sprintf(text+4, "%s %s %d \"Lopster %s\" %d %s",
+ net->user.username,
+- net->user.password,
++ strlen(net->user.password)?net->user.password:net->user.username,
+ port, VERSION,
+- global.linespeed);
++ global.linespeed,
++ email?email:"anon@anon"
++ );
+ #endif
+
+ size = BSWAP16(size);