summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-12-31 23:26:39 +0000
committerMark Spencer <markster@digium.com>2004-12-31 23:26:39 +0000
commit3ead7cdb6e65277620d2d314c81568a6ec02e41b (patch)
tree68bbb04bf30180ad9205912f697555e36abc2e39
parenta2e70340b85d7b59dafd4b74d8042c96cdd5bd61 (diff)
Fix GCC 2.95 build (bug #3211)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-xchannels/chan_sip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index af917e045..a5d7fb9f5 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -8777,7 +8777,7 @@ static int reload_config(void)
int format;
int oldport = ntohs(bindaddr.sin_port);
char iabuf[INET_ADDRSTRLEN];
-
+ struct ast_flags dummy;
if (gethostname(ourhost, sizeof(ourhost))) {
ast_log(LOG_WARNING, "Unable to get hostname, SIP disabled\n");
@@ -8830,7 +8830,6 @@ static int reload_config(void)
regcontext[0] = '\0';
tos = 0;
expiry = DEFAULT_EXPIRY;
- struct ast_flags dummy;
/* Read the [general] config section of sip.conf (or from realtime config) */
v = ast_variable_browse(cfg, "general");