Commit 8654a18f authored by Karl Heyes's avatar Karl Heyes

minor cleanups

svn path=/trunk/icecast/; revision=5168
parent 686bac60
......@@ -3,6 +3,7 @@
AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = icecast.xml.in
DISTCLEANFILES = icecast.xml.dist
docdir = $(datadir)/$(PACKAGE)/doc
doc_DATA = icecast.xml.dist
......
#ifndef __CONFIG_H__
#define __CONFIG_H__
#ifndef __CFGFILE_H__
#define __CFGFILE_H__
#define CONFIG_EINSANE -1
#define CONFIG_ENOROOT -2
......@@ -138,7 +138,7 @@ void config_release_config(void);
/* To be used ONLY in one-time startup code */
ice_config_t *config_get_config_unlocked(void);
#endif /* __CONFIG_H__ */
#endif /* __CFGFILE_H__ */
......@@ -673,8 +673,8 @@ static void _handle_get_request(connection_t *con,
char *host;
int port;
int i;
char *serverhost;
int serverport;
char *serverhost = NULL;
int serverport = 0;
aliases *alias;
ice_config_t *config;
int client_limit;
......
......@@ -11,6 +11,9 @@
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#include <time.h>
#include "connection.h"
......
......@@ -12,6 +12,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#include "refbuf.h"
#include "source.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment