From 60693fe0b9f876bdd2e7c9373b40a2f6305243ea Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Wed, 27 May 2020 23:13:30 +0200 Subject: [PATCH] some bugs --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index ce1338c..42fe394 100644 --- a/main.c +++ b/main.c @@ -635,7 +635,7 @@ int main() } }else { - sprintf(strlog, "%s Connecté depuis %s ip=%s - %s %s", conn.user, conn.date, ip, conn.cmd, conn.cmdline); + sprintf(strlog, "%s Connecté depuis %s pid=%i ip=%s - %s %s", conn.user, conn.date, conn.pid, ip, conn.cmd, conn.cmdline); printlog(strlog, INFO, 0); } }else if (rinfo == -1)