]> granicus.if.org Git - fcron/commitdiff
remove extra "\n" in fcron log messages about fcrondyn connections
authorThibault Godouet <fcron@free.fr>
Fri, 18 Apr 2014 17:31:43 +0000 (18:31 +0100)
committerThibault Godouet <fcron@free.fr>
Fri, 18 Apr 2014 17:31:43 +0000 (18:31 +0100)
socket.c

index 5f5ace6639ec15ba5232ef87cbd4ec3917bd193d..36782cfc99a581958948b856ee4976713ba1c84b 100644 (file)
--- 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);
 
 }