From c5364305bec6dff4566b988157b93d3d171465e3 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sun, 3 Jul 2011 20:04:21 +0300 Subject: commands: change property mechanism to use talloc strings --- m_option.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm_option.h') diff --git a/m_option.h b/m_option.h index 77dddcef1d..b2f201c712 100644 --- a/m_option.h +++ b/m_option.h @@ -460,7 +460,7 @@ static inline char *m_option_print(const m_option_t *opt, const void *val_ptr) if (opt->type->print) return opt->type->print(opt, val_ptr); else - return (char *)-1; + return NULL; } // Helper around \ref m_option_type::copy. -- cgit v1.2.3