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

This commit is contained in:
Jacob Moody 2021-07-10 15:57:46 +00:00
parent bf6769d3f0
commit 51a351e845

View file

@ -3,7 +3,7 @@
#include <bio.h> #include <bio.h>
#include <ctype.h> #include <ctype.h>
char *server = "freedb.freedb.org"; char *server = "gnudb.org";
int debug; int debug;
#define DPRINT if(debug)fprint #define DPRINT if(debug)fprint
@ -95,7 +95,7 @@ cddbfilltoc(Toc *t)
int nf; int nf;
char *id, *categ; char *id, *categ;
fd = dial(netmkaddr(server, "tcp", "888"), 0, 0, 0); fd = dial(netmkaddr(server, "tcp", "8880"), 0, 0, 0);
if(fd < 0) { if(fd < 0) {
fprint(2, "%s: %s: cannot dial: %r\n", argv0, server); fprint(2, "%s: %s: cannot dial: %r\n", argv0, server);
return -1; return -1;