Sfoglia il codice sorgente

usrloc: fixed missing symbol for ul_cseq_delay

Daniel-Constantin Mierla 5 anni fa
parent
commit
d515c93a5c
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/modules/usrloc/urecord.c

+ 2 - 2
src/modules/usrloc/urecord.c

@@ -44,7 +44,7 @@
 /*! contact matching mode */
 /*! contact matching mode */
 int ul_matching_mode = CONTACT_ONLY;
 int ul_matching_mode = CONTACT_ONLY;
 /*! retransmission detection interval in seconds */
 /*! retransmission detection interval in seconds */
-int cseq_delay = 20;
+int ul_cseq_delay = 20;
 
 
 /*!
 /*!
  * \brief Create and initialize new record structure
  * \brief Create and initialize new record structure
@@ -801,7 +801,7 @@ int get_ucontact(urecord_t* _r, str* _c, str* _callid, str* _path, int _cseq,
 				return -1;
 				return -1;
 			if (_cseq==ptr->cseq) {
 			if (_cseq==ptr->cseq) {
 				ul_get_act_time();
 				ul_get_act_time();
-				return (ptr->last_modified+cseq_delay>ul_act_time)?-2:-1;
+				return (ptr->last_modified+ul_cseq_delay>ul_act_time)?-2:-1;
 			}
 			}
 		}
 		}
 		*_co = ptr;
 		*_co = ptr;