From 04f0cf2ce6140bcb3b38dccd4f9e44858b53a4fd Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 3 Jan 2011 13:07:51 -0500 Subject: Fix boolean comparison against string Coverity 10082 and 100083 --- src/tools/sss_sync_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/sss_sync_ops.c b/src/tools/sss_sync_ops.c index a92f8caa..2553ead8 100644 --- a/src/tools/sss_sync_ops.c +++ b/src/tools/sss_sync_ops.c @@ -29,8 +29,8 @@ /* Default settings for user attributes */ #define DFL_SHELL_VAL "/bin/bash" #define DFL_BASEDIR_VAL "/home" -#define DFL_CREATE_HOMEDIR "TRUE" -#define DFL_REMOVE_HOMEDIR "TRUE" +#define DFL_CREATE_HOMEDIR true +#define DFL_REMOVE_HOMEDIR true #define DFL_UMASK 077 #define DFL_SKEL_DIR "/etc/skel" #define DFL_MAIL_DIR "/var/spool/mail" -- cgit