]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: wurfl: make use of the late init registration
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 19:20:17 +0000 (20:20 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 20:30:54 +0000 (21:30 +0100)
commitdc2ed471633e0a0dd2f2285232d018641ef56b51
treec870c19e569c7b273f8eb90e6037d46bd2f1ea4d
parent64bca599d984be67949a199d01ddfefec96a57df
CLEANUP: wurfl: make use of the late init registration

This removes some #ifdefs from the main haproxy code path and enables
error checking. The current code only makes use of warnings even for
some errors that look serious. While this choice is questionnable, it
has been kept as-is, and only the return codes were adapted to ERR_WARN
to at least report that some warnings were emitted. ha_wurfl_init() was
unexported as it's not needed anymore.
include/proto/wurfl.h
src/haproxy.c
src/wurfl.c