comparison libaudacious/beepctrl.c @ 1450:9bb6d5ce6d95 trunk

[svn] - fix autodetection of session URI
author nenolod
date Fri, 28 Jul 2006 11:35:59 -0700
parents 3b1c464cbbb0
children 6fe7ba6e5489
comparison
equal deleted inserted replaced
1449:a69db3a15bf2 1450:9bb6d5ce6d95
314 return audacious_session_uri; 314 return audacious_session_uri;
315 } 315 }
316 316
317 db = bmp_cfg_db_open(); 317 db = bmp_cfg_db_open();
318 318
319 bmp_cfg_db_get_string(db, NULL, "session_uri_base", &value); 319 bmp_cfg_db_get_string(db, NULL, "listen_uri_base", &value);
320 320
321 bmp_cfg_db_close(db); 321 bmp_cfg_db_close(db);
322 322
323 if (value == NULL) 323 if (value == NULL)
324 return g_strdup_printf("unix://localhost/%s/%s_%s.%d", g_get_tmp_dir(), 324 return g_strdup_printf("unix://localhost/%s/%s_%s.%d", g_get_tmp_dir(),