Fix GCC 2.95 build (bug #3211)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
a2e70340b8
commit
3ead7cdb6e
1 changed files with 1 additions and 2 deletions
|
@ -8777,7 +8777,7 @@ static int reload_config(void)
|
||||||
int format;
|
int format;
|
||||||
int oldport = ntohs(bindaddr.sin_port);
|
int oldport = ntohs(bindaddr.sin_port);
|
||||||
char iabuf[INET_ADDRSTRLEN];
|
char iabuf[INET_ADDRSTRLEN];
|
||||||
|
struct ast_flags dummy;
|
||||||
|
|
||||||
if (gethostname(ourhost, sizeof(ourhost))) {
|
if (gethostname(ourhost, sizeof(ourhost))) {
|
||||||
ast_log(LOG_WARNING, "Unable to get hostname, SIP disabled\n");
|
ast_log(LOG_WARNING, "Unable to get hostname, SIP disabled\n");
|
||||||
|
@ -8830,7 +8830,6 @@ static int reload_config(void)
|
||||||
regcontext[0] = '\0';
|
regcontext[0] = '\0';
|
||||||
tos = 0;
|
tos = 0;
|
||||||
expiry = DEFAULT_EXPIRY;
|
expiry = DEFAULT_EXPIRY;
|
||||||
struct ast_flags dummy;
|
|
||||||
|
|
||||||
/* Read the [general] config section of sip.conf (or from realtime config) */
|
/* Read the [general] config section of sip.conf (or from realtime config) */
|
||||||
v = ast_variable_browse(cfg, "general");
|
v = ast_variable_browse(cfg, "general");
|
||||||
|
|
Loading…
Reference in a new issue