Explorar el Código

Merge pull request #299 from mslehto/warn-p_usrloc

modules/p_usrloc: fixes get_all_ucontacts() function signature
Daniel-Constantin Mierla hace 10 años
padre
commit
7e7ffea767
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      modules/p_usrloc/dlist.c
  2. 1 1
      modules/p_usrloc/dlist.h

+ 1 - 1
modules/p_usrloc/dlist.c

@@ -153,7 +153,7 @@ unsigned long get_number_of_users(void)
 
 
 int get_all_ucontacts(void *buf, int len, unsigned int flags,
-                         unsigned int part_idx, unsigned int part_max)
+                         unsigned int part_idx, unsigned int part_max, int options)
 {
 	LM_INFO("not available with partitioned interface");
 	return -1;

+ 1 - 1
modules/p_usrloc/dlist.h

@@ -107,7 +107,7 @@ int register_udomain(const char* _n, udomain_t** _d);
  * \return 0 on success, positive if buffer size was not sufficient, negative on failure
  */
 int get_all_ucontacts(void *, int, unsigned int,
-           unsigned int part_idx, unsigned int part_max);
+           unsigned int part_idx, unsigned int part_max, int options);
 
 /*!
  * \brief Find a particular domain, small wrapper around find_dlist