From 54a08d3e084a839f4cebea725b59399d1598f4b1 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 12 Nov 2012 01:14:56 +0100 Subject: [PATCH] BUG: connection: fix typo in previous commit A typo broke the logs (obj_type() instead of objt_server()). --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.c b/src/log.c index 06a2a57ac..24273a550 100644 --- a/src/log.c +++ b/src/log.c @@ -1175,7 +1175,7 @@ int build_logline(struct session *s, char *dst, size_t maxsize, struct list *lis break; case LOG_FMT_SRVCONN: // %sc - ret = ultoa_o(obj_type(s->target) ? + ret = ultoa_o(objt_server(s->target) ? objt_server(s->target)->cur_sess : 0, tmplog, dst + maxsize - tmplog); if (ret == NULL)