2009-01-11 [paul] 3.7.0cvs32
[claws.git] / src / addrindex.c
index 1c589712b46bac8ac0d5532536d40c4e918db8a0..289cb88b2c9624aede8a8f22d1e4b0f31cd0b8b9 100644 (file)
@@ -979,6 +979,7 @@ static int addrindex_write_attr( FILE *fp, const gchar *name, const gchar *value
        return 0;
 }
 
+#if !defined(USE_LDAP) || !defined(USE_JPILOT)
 /**
  * Return DOM fragment for current XML tag from file.
  * \param  file XML file being processed.
@@ -1087,7 +1088,7 @@ static int addrindex_write_fragment(
        
        return 0;
 }
-
+#endif
 /**
  * Read/parse address index file, creating a data source for a regular
  * intrinsic XML addressbook.