Use 0 and 1 instead of relying on TRUE/FALSE being defined everywhere
authorKen Raeburn <raeburn@mit.edu>
Thu, 1 Nov 2007 08:18:23 +0000 (08:18 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 1 Nov 2007 08:18:23 +0000 (08:18 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20162 dc483132-0cff-0310-8789-dd5450dbe970

src/ccapi/server/ccs_cache_collection.c

index df21ccb506250ecf0e4a85461a7662c9b9c48c09..2500c297495db4996fa844961fb27486d4ed9a60 100644 (file)
@@ -24,6 +24,7 @@
  * or implied warranty.
  */
 
+#include "k5-platform.h"       /* pull in asprintf decl/defn */
 #include "ccs_common.h"
 
 struct ccs_cache_collection_d {
@@ -518,7 +519,7 @@ cc_int32 ccs_cache_collection_set_default_ccache (ccs_cache_collection_t  io_cac
        if (!err) {
            err = ccs_ccache_notify_default_state_changed (old_default,
                                                           io_cache_collection,
-                                                          FALSE /* no longer default */);
+                                                          0 /* no longer default */);
        }
        
        if (!err) {
@@ -529,7 +530,7 @@ cc_int32 ccs_cache_collection_set_default_ccache (ccs_cache_collection_t  io_cac
        if (!err) {
            err = ccs_ccache_notify_default_state_changed (new_default,
                                                           io_cache_collection,
-                                                          TRUE /* now default */);
+                                                          1 /* now default */);
        }
        
        if (!err) {