comment out dumping code
[moonshot.git] / mech_eap / util_json.h
index 639e7b0..53c6f13 100644 (file)
@@ -31,7 +31,7 @@
  */
 
 /*
- * JSON object wrapper with toll-free DDF bridging.
+ * JSON object wrapper with not-entirely-toll-free DDF bridging.
  */
 
 #ifndef _UTIL_JSON_H_
@@ -130,7 +130,7 @@ namespace gss_eap {
         friend class JSONIterator;
 
         json_t *get(void) const {
-            return m_obj ? json_incref(m_obj) : json_null();
+            return json_incref(m_obj);
         }
 
         void set(json_t *obj) {
@@ -144,7 +144,6 @@ namespace gss_eap {
 
         json_t *m_obj;
     };
-
 }
 
 #endif /* __cplusplus */