]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: log: Don't dump empty unique-id
authorThierry FOURNIER <tfournier@exceliance.fr>
Mon, 14 Apr 2014 23:38:48 +0000 (01:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 15 Apr 2014 08:38:19 +0000 (10:38 +0200)
commit1be69105abccec526afdf7b94611473312a931db
treebe29726371fa8c399900f5189f6e6fe82c3fdf4f
parentad9035186e3dce0458a76c7f6eb323475ad9c57d
BUG/MINOR: log: Don't dump empty unique-id

If the unique-id value is missing, the build_logline() function dump
anything. It is because the function lf_text() is bypassed. This
function is responsible to dump '-' is the value is not present, and set
the '"' around the value displayed.

This fixes the bug reported by Julient Vehent
src/log.c