Bug #1952: iaxbuf now declared in chan_iax2.c and chan_sip.c
authorMalcolm Davenport <malcolmd@digium.com>
Wed, 30 Jun 2004 13:57:49 +0000 (13:57 +0000)
committerMalcolm Davenport <malcolmd@digium.com>
Wed, 30 Jun 2004 13:57:49 +0000 (13:57 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3362 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c
channels/chan_sip.c

index 7798230..8b07612 100755 (executable)
@@ -1836,6 +1836,7 @@ static void mysql_update_peer(char *peer, struct sockaddr_in *sin)
        if (mysql && (strlen(peer) < 128)) {
                char query[512];
                char *name;
+               char iabuf[80];
                time_t nowtime;
                name = alloca(strlen(peer) * 2 + 1);
                time(&nowtime);
index cdf866f..941fa69 100755 (executable)
@@ -1031,6 +1031,7 @@ static void mysql_update_peer(char *peer, struct sockaddr_in *sin, char *usernam
                char query[512];
                char *name;
                char *uname;
+               char iabuf[80];
                time_t nowtime;
                name = alloca(strlen(peer) * 2 + 1);
                uname = alloca(strlen(username) * 2 + 1);
@@ -1060,6 +1061,7 @@ static struct sip_peer *mysql_peer(char *peer, struct sockaddr_in *sin)
                char *name = NULL;
                int numfields, x;
                int port;
+               char iabuf[80];
                time_t regseconds, nowtime;
                MYSQL_RES *result;
                MYSQL_FIELD *fields;