Use type int for boolean values, apparently json-c no longer defines it.
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 16 Feb 2013 20:03:52 +0000 (15:03 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 16 Feb 2013 22:25:46 +0000 (17:25 -0500)
src/modules/rlm_rest/rest.c

index 4a67018..09b1eb6 100644 (file)
@@ -196,8 +196,8 @@ const FR_NAME_NUMBER http_content_type_table[] = {
  * @see json_pairmake_leaf
  */
 typedef struct json_flags {
-       boolean do_xlat;        //!< If TRUE value will be expanded with xlat.
-       boolean is_json;        //!< If TRUE value will be inserted as raw JSON
+       int do_xlat;            //!< If TRUE value will be expanded with xlat.
+       int is_json;            //!< If TRUE value will be inserted as raw JSON
                                // (multiple values not supported).
        FR_TOKEN op;            //!< The operator that determines how the new VP
                                // is processed. @see fr_tokens