File: 04-freedb-url

package info (click to toggle)
cdcd 0.6.6-13.3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,768 kB
  • sloc: ansic: 4,891; sh: 2,142; makefile: 17
file content (19 lines) | stat: -rw-r--r-- 677 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Ralf Treinen
Description: update url of freedb service

Index: cdcd-0.6.6/conf.c
===================================================================
--- cdcd-0.6.6.orig/conf.c	2011-04-28 21:40:56.000000000 +0200
+++ cdcd-0.6.6/conf.c	2011-04-28 21:46:15.000000000 +0200
@@ -147,9 +147,9 @@
 	{ */
 	  list.list_len = 1;
 	  strncpy (list.list_host[0].host_server.server_name,
-		   "www.freedb.org", 256);
+		   "freedb.freedb.org", 256);
 	  strncpy (list.list_host[0].host_addressing,
-		   "cgi-bin/cddb.cgi", 256);
+		   "~cddb/cddb.cgi", 256);
 	  list.list_host[0].host_server.server_port = 80;
 	  list.list_host[0].host_protocol = CDDB_MODE_HTTP;
 	  /* break;