commit 3fdfda137171168dcc7a3eaf6e9a073d48281f4e
parent b3a670dc6f8379b16c6f86e76b1a6f84fc75bf54
Author: Solene Rapenne <solene@perso.pw>
Date: Mon, 18 Dec 2017 18:35:58 +0000
Use a consistent separator for the port in the log file
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
@@ -97,7 +97,7 @@ logentry(char *host, char *port, char *qry, char *status)
strftime(timstr, sizeof(timstr), "%a %b %d %H:%M:%S %Z %Y",
ptr);
- dprintf(glfd, "[%s|%s:%s] %s (%s)\n",
+ dprintf(glfd, "[%s|%s|%s] %s (%s)\n",
timstr, ahost, port, qry, status);
free(ahost);
}