projects
/
platform
/
upstream
/
multipath-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
81f2f0b
)
[lib] adapt checker print function to Ben's change
author
Christophe Varoqui
<christophe.varoqui@free.fr>
Tue, 13 May 2008 22:41:32 +0000
(
00:41
+0200)
committer
Christophe Varoqui
<christophe.varoqui@free.fr>
Tue, 13 May 2008 22:41:32 +0000
(
00:41
+0200)
libmultipath/dict.c
patch
|
blob
|
history
diff --git
a/libmultipath/dict.c
b/libmultipath/dict.c
index
c9edcc4
..
f976a84
100644
(file)
--- 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);