sip_scheddestroy(p, SIP_TRANS_TIMEOUT);
return AUTH_CHALLENGE_SENT;
} else { /* We have auth, so check it */
+
+ /* XXX reduce nesting here */
+
/* Whoever came up with the authentication section of SIP can suck my %&#$&* for not putting
an example in the spec of just what it is you're doing a hash on. */
char a1_hash[256];
ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);
return 0;
} else {
+ /* XXX reduce nesting here */
+
/* Initialize tag for new subscriptions */
if (ast_strlen_zero(p->tag))
make_our_tag(p->tag, sizeof(p->tag));
ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);
return 0;
} else {
+ /* XXX reduce nesting here */
struct sip_pvt *p_old;
transmit_response(p, "200 OK", req);