Make 1.6.0 compile

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Mark Michelson 17 years ago
parent a3e1649a9a
commit fe72ca1329

@ -18074,8 +18074,8 @@ static int handle_request_do(struct sip_request *req, struct sockaddr_in *sin)
ntohs(sin->sin_port), req->data);
}
if(parse_request(req) == -1) { /* Bad packet, can't parse */
ast_str_reset(req->data); /* nulling this out is NOT a good idea here. */
if (parse_request(req) == -1) { /* Bad packet, can't parse */
req->data[0] = '\0'; /* nulling this out is NOT a good idea here. */
return 1;
}

Loading…
Cancel
Save