From 42704728855376d2f7da2de1967d7bc71bc54a2f Mon Sep 17 00:00:00 2001 From: Christophe Varoqui Date: Wed, 14 May 2008 00:41:32 +0200 Subject: [PATCH] [lib] adapt checker print function to Ben's change --- libmultipath/dict.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmultipath/dict.c b/libmultipath/dict.c index c9edcc4..f976a84 100644 --- a/libmultipath/dict.c +++ b/libmultipath/dict.c @@ -1408,7 +1408,8 @@ snprint_def_path_checker (char * buff, int len, void * data) { if (!conf->checker_name) return 0; - if (conf->checker_name == DEFAULT_CHECKER) + if (strlen(conf->checker_name) == strlen(DEFAULT_CHECKER) && + !strcmp(conf->checker_name, DEFAULT_CHECKER)) return 0; return snprintf(buff, len, "%s", conf->checker_name); -- 2.7.4