message: EVPath 2019-06-17 (7aca7ace)
  Code extracted from:
  at commit (master).
  Upstream Shortlog
  Greg Eisenhauer (1):
  fix bugs
diff: @@ -359,7 +359,7 @@ INT_CMget_contact_list(CManager cm)
  extern attr_list
  INT_CMget_specific_contact_list(CManager cm, attr_list attrs)
  {
  - char *chosen_transport = NULL, *chosen_net = NULL, *chosen_interface;
  + char *chosen_transport = NULL, *chosen_net = NULL, *chosen_interface = NULL;
  char *freeable_transport = NULL;
  int i = 0;
  @@ -381,10 +381,10 @@ INT_CMget_specific_contact_list(CManager cm, attr_list attrs)
  CMadd_ref_attr_list(cm, cm->contact_lists[0]);
  return cm->contact_lists[0];
  }
  - /* specific transport chosen */
  + /* specific transport or interface chosen */
  i = 0;
  while (cm->contact_lists && (cm->contact_lists[i] != NULL)) {
  - char *this_transport = NULL, *this_postfix = NULL, *this_interface;
  + char *this_transport = NULL, *this_postfix = NULL, *this_interface = NULL;
  get_string_attr(cm->contact_lists[i], CM_TRANSPORT, &this_transport);
  get_string_attr(cm->contact_lists[i], CM_NETWORK_POSTFIX, &this_postfix);
  @@ -392,6 +392,9 @@ INT_CMget_specific_contact_list(CManager cm, attr_list attrs)
  if (this_transport == NULL) {
  this_transport = "sockets";
  }
  + if (chosen_transport == NULL) {
  + chosen_transport = "sockets";
  + }
  if (strcmp(this_transport, chosen_transport) == 0) {
  if ((chosen_net != NULL) || (this_postfix != NULL)) {
  /* one is not null */
  @@ -437,6 +440,9 @@ INT_CMget_specific_contact_list(CManager cm, attr_list attrs)
  if (this_transport == NULL) {
  this_transport = "sockets";
  }
  + if (chosen_transport == NULL) {
  + chosen_transport = "sockets";
  + }
  if (strcmp(this_transport, chosen_transport) == 0) {
  if ((chosen_net != NULL) || (this_postfix != NULL)) {
  /* one is not null */
  