summaryrefslogtreecommitdiff
path: root/src/irmd/main.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-07-05 09:06:20 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-07-05 09:06:20 +0200
commit96acaa2b5732a7685725b5c46045eda3375a3839 (patch)
tree9a73dfc68725eccf2bb491e367705926dcc50214 /src/irmd/main.c
parentaca5db11a73e66377b8566e69c1baabb1df803ab (diff)
parent66fd022a705cf65cbe37c446dbd87919a43a7fd3 (diff)
downloadouroboros-96acaa2b5732a7685725b5c46045eda3375a3839.tar.gz
ouroboros-96acaa2b5732a7685725b5c46045eda3375a3839.zip
Merged in dstaesse/ouroboros/be-path-check (pull request #152)
lib: irm: search for ap using PATH variable
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 6e3fd74a..ab637789 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);
}
}
}