summaryrefslogtreecommitdiff
path: root/src/irmd/main.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-07-05 15:47:23 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-07-05 15:47:23 +0200
commit63510348c9dd72e0f1d9146cfb90f88adb34e1eb (patch)
treeb737bcdcedec9ce16487c2aa931aaf5c620f28ad /src/irmd/main.c
parenta315150a16c02f3cb694e639d5aba555fce4b4c3 (diff)
parent656db09805cbff0b6af3c34f611b710116df4b82 (diff)
downloadouroboros-63510348c9dd72e0f1d9146cfb90f88adb34e1eb.tar.gz
ouroboros-63510348c9dd72e0f1d9146cfb90f88adb34e1eb.zip
Merge remote-tracking branch 'upstream/be' into be
Diffstat (limited to 'src/irmd/main.c')
-rw-r--r--src/irmd/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index 0d23ec58..2ea59eee 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -1103,6 +1103,8 @@ static int bind_name(char * name,
pthread_rwlock_unlock(&instance->reg_lock);
pthread_rwlock_unlock(&instance->state_lock);
+ LOG_INFO("Bound %s to registered name %s.", ap_name, name);
+
return 0;
}
@@ -1142,6 +1144,8 @@ static int unbind_name(char * name,
pthread_rwlock_unlock(&instance->reg_lock);
pthread_rwlock_unlock(&instance->state_lock);
+ LOG_INFO("Removed binding from %s to %s.", ap_name, name);
+
return 0;
}
@@ -1280,6 +1284,9 @@ static int ap_unreg(char * name,
"%s in DIF %s.",
rne->name, e->dif_name);
--ret;
+ } else {
+ LOG_INFO("Unregistered %s from %s.",
+ rne->name, e->dif_name);
}
}
}