Display proper error for matching domain registers (bug #5412)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2005-10-13 20:43:33 +00:00
parent dee30a519e
commit d75fb48fb8
1 changed files with 2 additions and 0 deletions

View File

@ -6393,6 +6393,8 @@ static int register_verify(struct sip_pvt *p, struct sockaddr_in *sin, struct si
case -3:
/* URI not found */
transmit_response(p, "404 Not found", &p->initreq);
/* Set res back to -2 because we don't want to return an invalid domain message. That check already happened up above. */
res = -2;
break;
}
if (option_debug > 1) {