From: Adam Dickmeiss Date: Wed, 21 Apr 2010 11:58:50 +0000 (+0200) Subject: Cosmetic: use symbolic names for two diagnostics X-Git-Tag: v4.0.4~15 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=355d07b69c11cad30ad0e5fb5e62c9abbb5f4658 Cosmetic: use symbolic names for two diagnostics --- diff --git a/src/seshigh.c b/src/seshigh.c index b9801ff..2d02542 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -2530,7 +2530,9 @@ static Z_Records *pack_records(association *a, char *setname, Odr_int start, { yaz_log(YLOG_DEBUG, " Dropped it"); reclist->records[reclist->num_records] = - surrogatediagrec(a, freq.basename, 16, 0); + surrogatediagrec( + a, freq.basename, + YAZ_BIB1_RECORD_EXCEEDS_PREFERRED_MESSAGE_SIZE, 0); reclist->num_records++; dumped_records += this_length; continue; @@ -2542,7 +2544,9 @@ static Z_Records *pack_records(association *a, char *setname, Odr_int start, "this=%d max=%d", this_length, a->maximumRecordSize); reclist->records[reclist->num_records] = - surrogatediagrec(a, freq.basename, 17, 0); + surrogatediagrec( + a, freq.basename, + YAZ_BIB1_RECORD_EXCEEDS_MAXIMUM_RECORD_SIZE, 0); reclist->num_records++; dumped_records += this_length; continue;