BUG/MINOR: obj_type: Handle stream object in obj_base_ptr() function
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 21 Apr 2020 09:48:53 +0000 (11:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 May 2020 10:19:12 +0000 (12:19 +0200)
commit6bd76726c3fba7d85d3326ec56d4159db585868f
treefb70f5d9935c5c5419bf457d7e9a927c2b430b19
parent68997cc14bf6f16ff862a6d44a506b85263ad557
BUG/MINOR: obj_type: Handle stream object in obj_base_ptr() function

The stream object (OBJ_TYPE_STREAM) was missing in the switch statement of the
obj_base_ptr() function.

This patch must be backported as far as 2.0.

(cherry picked from commit a142c1deb401308055f29b9d52a47e5a0ad962e7)
Signed-off-by: Willy Tarreau <w@1wt.eu>
include/proto/obj_type.h