summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/enroll.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-09-01 12:44:47 +0000
committerdimitri staessens <[email protected]>2017-09-01 12:44:47 +0000
commit3ed56c914851fa6eab5744213fd2e700f1ab71a8 (patch)
treee354c5d53c2889432b238089e00c8a65db197394 /src/ipcpd/normal/enroll.c
parentfb4143175b2511cbc915b21ea86e08a3700539f7 (diff)
parent9ae8e5a57300932a762e4a8465a58ee44b4cb306 (diff)
downloadouroboros-3ed56c914851fa6eab5744213fd2e700f1ab71a8.tar.gz
ouroboros-3ed56c914851fa6eab5744213fd2e700f1ab71a8.zip
Merged in sandervrijders/ouroboros/be-frct-lock (pull request #584)
Be frct lock
Diffstat (limited to 'src/ipcpd/normal/enroll.c')
-rw-r--r--src/ipcpd/normal/enroll.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ipcpd/normal/enroll.c b/src/ipcpd/normal/enroll.c
index fc541859..cad14fd8 100644
--- a/src/ipcpd/normal/enroll.c
+++ b/src/ipcpd/normal/enroll.c
@@ -22,7 +22,7 @@
#define _POSIX_C_SOURCE 199309L
-#define OUROBOROS_PREFIX "Enrollment"
+#define OUROBOROS_PREFIX "enrollment"
#include <ouroboros/endian.h>
#include <ouroboros/errno.h>
@@ -64,7 +64,7 @@ struct {
pthread_t listener;
} enroll;
-static int send_rcv_enroll_msg(int fd)
+static int send_rcv_enroll_msg(int fd)
{
enroll_msg_t req = ENROLL_MSG__INIT;
enroll_msg_t * reply;
@@ -277,10 +277,9 @@ static void * enroll_handle(void * o)
return 0;
}
-int enroll_boot(struct conn * conn,
- const char * dst)
+int enroll_boot(struct conn * conn)
{
- log_dbg("Getting boot information from %s.", dst);
+ log_dbg("Getting boot information.");
if (send_rcv_enroll_msg(conn->flow_info.fd)) {
log_err("Failed to enroll.");