Use a consistent separator for the port in the log file - geomyidae - A small C-based gopherd. (HTM) git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ (DIR) Log (DIR) Files (DIR) Refs (DIR) Tags (DIR) README (DIR) LICENSE --- (DIR) commit 3fdfda137171168dcc7a3eaf6e9a073d48281f4e (DIR) parent b3a670dc6f8379b16c6f86e76b1a6f84fc75bf54 (HTM) 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: M main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) 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); }