2
0
Эх сурвалжийг харах

ims_registrar_scscf: fixed bug caused by uninitialized global variable

- "rerrno" variable was not initialized and caused corruption in transaction states
Carlos Ruiz Diaz 12 жил өмнө
parent
commit
3bc87f139b

+ 1 - 0
modules/ims_registrar_scscf/cxdx_sar.c

@@ -101,6 +101,7 @@ void async_cdp_callback(int is_timeout, void *param, AAAMessage *saa, long elaps
 
     str xml_data = {0, 0}, ccf1 = {0, 0}, ccf2 = {0, 0}, ecf1 = {0, 0}, ecf2 = {0, 0};
     ims_subscription* s = 0;
+    rerrno = R_FINE;
 
     if (!param) {
         LM_DBG("No transaction data this must have been called from usrloc cb impu deleted - just log result code and then exit");