From: Thibault Godouet Date: Fri, 18 Apr 2014 17:31:43 +0000 (+0100) Subject: remove extra "\n" in fcron log messages about fcrondyn connections X-Git-Tag: ver3_1_3~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e33c51a0ecc8dc1546e9ba46d42ff20b233f5a4;p=thirdparty%2Ffcron.git remove extra "\n" in fcron log messages about fcrondyn connections --- 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); }