mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
minor cleanups
svn path=/trunk/icecast/; revision=5168
This commit is contained in:
parent
686bac60cf
commit
8654a18f72
@ -3,6 +3,7 @@
|
|||||||
AUTOMAKE_OPTIONS = foreign
|
AUTOMAKE_OPTIONS = foreign
|
||||||
|
|
||||||
EXTRA_DIST = icecast.xml.in
|
EXTRA_DIST = icecast.xml.in
|
||||||
|
DISTCLEANFILES = icecast.xml.dist
|
||||||
|
|
||||||
docdir = $(datadir)/$(PACKAGE)/doc
|
docdir = $(datadir)/$(PACKAGE)/doc
|
||||||
doc_DATA = icecast.xml.dist
|
doc_DATA = icecast.xml.dist
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef __CONFIG_H__
|
#ifndef __CFGFILE_H__
|
||||||
#define __CONFIG_H__
|
#define __CFGFILE_H__
|
||||||
|
|
||||||
#define CONFIG_EINSANE -1
|
#define CONFIG_EINSANE -1
|
||||||
#define CONFIG_ENOROOT -2
|
#define CONFIG_ENOROOT -2
|
||||||
@ -138,7 +138,7 @@ void config_release_config(void);
|
|||||||
/* To be used ONLY in one-time startup code */
|
/* To be used ONLY in one-time startup code */
|
||||||
ice_config_t *config_get_config_unlocked(void);
|
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;
|
char *host;
|
||||||
int port;
|
int port;
|
||||||
int i;
|
int i;
|
||||||
char *serverhost;
|
char *serverhost = NULL;
|
||||||
int serverport;
|
int serverport = 0;
|
||||||
aliases *alias;
|
aliases *alias;
|
||||||
ice_config_t *config;
|
ice_config_t *config;
|
||||||
int client_limit;
|
int client_limit;
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#ifdef HAVE_STRINGS_H
|
||||||
|
# include <strings.h>
|
||||||
|
#endif
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "connection.h"
|
#include "connection.h"
|
||||||
|
@ -12,6 +12,9 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#ifdef HAVE_STRINGS_H
|
||||||
|
# include <strings.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "refbuf.h"
|
#include "refbuf.h"
|
||||||
#include "source.h"
|
#include "source.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user