changeset 1445:cdb339ef1b1a trunk

[svn] - if cfg.session_uri_base = NULL (old/non-existant configs), then assume we want a default unix location
author nenolod
date Fri, 28 Jul 2006 01:35:52 -0700
parents c04ce16b2b57
children 7610ab1233a7
files ChangeLog audacious/controlsocket.c
diffstat 2 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jul 28 01:31:44 2006 -0700
+++ b/ChangeLog	Fri Jul 28 01:35:52 2006 -0700
@@ -1,3 +1,17 @@
+2006-07-28 08:31:44 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1802]
+  - libaudacious/beepctrl.c: optimise further and be more paranoid about leaks
+  - audacious/main.c, main.h: add `session_uri_base' key.
+  - audacious/controlsocket.c: TCP session code (no security yet, thus no public option)
+  
+
+  Changes:        Modified:
+  +59 -2          trunk/audacious/controlsocket.c  
+  +4 -0           trunk/audacious/main.c  
+  +1 -0           trunk/audacious/main.h  
+  +4 -2           trunk/libaudacious/beepctrl.c  
+
+
 2006-07-28 08:11:15 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1800]
   - prepare for tcp listener code
--- a/audacious/controlsocket.c	Fri Jul 28 01:31:44 2006 -0700
+++ b/audacious/controlsocket.c	Fri Jul 28 01:35:52 2006 -0700
@@ -82,7 +82,7 @@
 {
     audacious_set_session_uri(cfg.session_uri_base);
 
-    if (!g_strncasecmp(cfg.session_uri_base, "tcp://", 6))
+    if (cfg.session_uri_base == NULL || !g_strncasecmp(cfg.session_uri_base, "tcp://", 6))
 	return ctrlsocket_setup_tcp();
 
     return ctrlsocket_setup_unix();