Explorar el Código

modules/dialog: Error in last commit. goto invalid destination

Kristian Høgh hace 9 años
padre
commit
18644f93e1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      modules/dialog/dlg_handlers.c

+ 1 - 1
modules/dialog/dlg_handlers.c

@@ -1400,7 +1400,7 @@ void dlg_onroute(struct sip_msg* req, str *route_params, void *param)
 			run_dlg_callbacks( DLGCB_REQ_WITHIN, dlg, req, NULL, dir, 0);
 			if (add_dlg_rr_param( req, dlg->h_entry, dlg->h_id)<0 ) {
 				LM_ERR("failed to add RR param\n");
-				goto error;
+				goto done;
 			}
 
 			if ( (event!=DLG_EVENT_REQACK) &&