shithub: plan9front

Download patch

ref: 51a351e84570e8ac4322ad202bfc57f648755019
parent: bf6769d3f09d51ff1096afa664c10d3313341a75
author: Jacob Moody <moody@posixcafe.org>
date: Sat Jul 10 11:57:46 EDT 2021

aux/cddb: freedb.org is dead, use gnudb.org

--- a/sys/src/cmd/aux/cddb.c	Fri Jul  9 10:40:23 2021
+++ b/sys/src/cmd/aux/cddb.c	Sat Jul 10 11:57:46 2021
@@ -3,7 +3,7 @@
 #include <bio.h>
 #include <ctype.h>
 
-char *server = "freedb.freedb.org";
+char *server = "gnudb.org";
 
 int debug;
 #define DPRINT if(debug)fprint
@@ -95,7 +95,7 @@
 	int nf;
 	char *id, *categ;
 
-	fd = dial(netmkaddr(server, "tcp", "888"), 0, 0, 0);
+	fd = dial(netmkaddr(server, "tcp", "8880"), 0, 0, 0);
 	if(fd < 0) {
 		fprint(2, "%s: %s: cannot dial: %r\n", argv0, server);
 		return -1;