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

DMQ: Add debug line when creating list and adding first notification address

Olle E. Johansson 2 жил өмнө
parent
commit
c181362533
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      src/modules/dmq/dmq.c

+ 2 - 0
src/modules/dmq/dmq.c

@@ -388,6 +388,8 @@ static int dmq_add_notification_address(modparam_t type, void * val)
 		dmq_tmp_list = dmq_notification_address_list;
 		dmq_tmp_list->s = tmp_str;
 		dmq_tmp_list->next = NULL;
+		LM_DBG("Created list and added new notification address to the list %.*s\n",
+			dmq_tmp_list->s.len, dmq_tmp_list->s.s);
 	} else {
 		dmq_tmp_list = append_str_list(tmp_str.s, tmp_str.len, &dmq_tmp_list, &total_list);
 		if (dmq_tmp_list == NULL) {