Selaa lähdekoodia

dialog: jump to error if fails to parse requests in cseq update callback

Daniel-Constantin Mierla 9 vuotta sitten
vanhempi
commit
ee7992d30a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      modules/dialog/dlg_cseq.c

+ 1 - 1
modules/dialog/dlg_cseq.c

@@ -119,7 +119,7 @@ int dlg_cseq_update(sip_msg_t *msg)
 	str *pval;
 
 	if(dlg_cseq_prepare_msg(msg)!=0) {
-		goto done;
+		goto error;
 	}
 	if(msg->first_line.type==SIP_REPLY) {
 		/* nothing to do for outgoing replies */