From 6e33c51a0ecc8dc1546e9ba46d42ff20b233f5a4 Mon Sep 17 00:00:00 2001 From: Thibault Godouet Date: Fri, 18 Apr 2014 18:31:43 +0100 Subject: [PATCH] remove extra "\n" in fcron log messages about fcrondyn connections --- socket.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/socket.c b/socket.c index 5f5ace6..36782cf 100644 --- a/socket.c +++ b/socket.c @@ -244,7 +244,7 @@ auth_client_getpeer(struct fcrondyn_cl *client) /* Successfully identified user: */ client->fcl_user = strdup2(p_entry->pw_name); - explain("Client's pid=%d, uid=%d, username=%s\n", + explain("Client's pid=%d, uid=%d, username=%s", ucred_getpid(ucred), uid, client->fcl_user); } @@ -278,7 +278,7 @@ auth_client_getpeer(struct fcrondyn_cl *client) /* Successfully identified user: */ client->fcl_user = strdup2(p_entry->pw_name); - explain("Client's uid=%d, gid=%d username=%s\n", euid, egid, + explain("Client's uid=%d, gid=%d username=%s", euid, egid, client->fcl_user); } @@ -328,7 +328,7 @@ auth_client_so_peercred(struct fcrondyn_cl *client) /* Successfully identified user: */ client->fcl_user = strdup2(p_entry->pw_name); - explain("Client's pid=%d, uid=%d, gid=%d username=%s\n", cred.pid, cred.uid, + explain("Client's pid=%d, uid=%d, gid=%d username=%s", cred.pid, cred.uid, cred.gid, client->fcl_user); } -- 2.47.3