Keep random data around, we'll need it for certain bogus REGISTER and INVITE network hiccups (bug # 1236)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-04-07 15:09:58 +00:00
parent a3d396b11b
commit 5a2c606d94

View File

@@ -3783,8 +3783,6 @@ static int check_auth(struct sip_pvt *p, struct sip_request *req, char *randdata
res = 0;
}
/* Assume success ;-) */
/* Eliminate random data */
strcpy(randdata, "");
}
return res;
}