[xiph-commits] r18666 - icecast/trunk/icecast/src
ph3-der-loewe at svn.xiph.org
ph3-der-loewe at svn.xiph.org
Sun Oct 14 16:50:15 PDT 2012
Author: ph3-der-loewe
Date: 2012-10-14 16:50:15 -0700 (Sun, 14 Oct 2012)
New Revision: 18666
Modified:
icecast/trunk/icecast/src/source.c
Log:
corrected coding style
Modified: icecast/trunk/icecast/src/source.c
===================================================================
--- icecast/trunk/icecast/src/source.c 2012-10-14 21:36:10 UTC (rev 18665)
+++ icecast/trunk/icecast/src/source.c 2012-10-14 23:50:15 UTC (rev 18666)
@@ -1359,13 +1359,13 @@
{
if (mount == NULL || mount[0] != '/')
break;
- config = config_get_config();
+ config = config_get_config ();
len = strlen (config->webroot_dir) + strlen (mount) + 1;
path = malloc (len);
if (path)
snprintf (path, len, "%s%s", config->webroot_dir, mount);
-
config_release_config ();
+
if (path == NULL)
break;
More information about the commits
mailing list