BUG: connection: fix typo in previous commit

A typo broke the logs (obj_type() instead of objt_server()).
This commit is contained in:
Willy Tarreau 2012-11-12 01:14:56 +01:00
parent 3fdb366885
commit 54a08d3e08

View File

@ -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)