#define ADEID_PRIVINO 17
#define ADEID_PRIVSYN 18 /* in synch with database */
#define ADEID_PRIVID 19
-#define ADEID_MAX 19
+#define ADEID_MAX (ADEID_PRIVID + 1)
/* These are the real ids for these entries, as stored in the adouble file */
#define AD_DEV 0x80444556
/* figure out all of the entry offsets and lengths. if we aren't
* able to read a resource fork entry, bail. */
nentries = len / AD_ENTRY_LEN;
- LOG(log_error, logtype_default, "nentries: %d", nentries);
parse_entries(ad, buf, nentries);
if (!ad_getentryoff(ad, ADEID_RFORK)
|| (ad_getentryoff(ad, ADEID_RFORK) > sizeof(ad->ad_data))