mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
fix the use of an uninitialized variable (issue #7746, pointed out by garyhai)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -7021,7 +7021,9 @@ static int sip_refer_allocate(struct sip_pvt *p)
|
||||
*/
|
||||
static int transmit_refer(struct sip_pvt *p, const char *dest)
|
||||
{
|
||||
struct sip_request req;
|
||||
struct sip_request req = {
|
||||
.headers = 0,
|
||||
};
|
||||
char from[256];
|
||||
const char *of;
|
||||
char *c;
|
||||
|
Reference in New Issue
Block a user