From 08ca5b289120c8eaeb14d54e9357e48d9b21d473 Mon Sep 17 00:00:00 2001 From: Daniel Roethlisberger Date: Sun, 16 Nov 2014 19:37:35 +0100 Subject: [PATCH] Also print pid if lookup (partially or fully) fails --- pxyconn.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pxyconn.c b/pxyconn.c index c1438c1..66b15c4 100644 --- a/pxyconn.c +++ b/pxyconn.c @@ -1617,13 +1617,13 @@ pxy_bev_eventcb(struct bufferevent *bev, short events, void *arg) pxy_conn_terminate_free(ctx); return; } - log_dbg_printf("Local process " - "%s %i %s:%s\n", - ctx->lproc.exec_path, - ctx->lproc.pid, - ctx->lproc.user, - ctx->lproc.group); } + log_dbg_printf("Local process: " + "%i %s:%s %s\n", + ctx->lproc.pid, + STRORDASH(ctx->lproc.user), + STRORDASH(ctx->lproc.group), + STRORDASH(ctx->lproc.exec_path)); } #endif /* HAVE_LOCAL_PROCINFO */ }