pass the correct object to cfg_obj_log

43 jobs for 779-named-checkconf-crashes-in-parser-c in 21 minutes and 9 seconds (queued for 4 seconds)