projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0518ff4
)
Cosmetic: use symbolic names for two diagnostics
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 21 Apr 2010 11:58:50 +0000
(13:58 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 21 Apr 2010 11:58:50 +0000
(13:58 +0200)
src/seshigh.c
patch
|
blob
|
history
diff --git
a/src/seshigh.c
b/src/seshigh.c
index
b9801ff
..
2d02542
100644
(file)
--- 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] =
{
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;
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] =
"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;
reclist->num_records++;
dumped_records += this_length;
continue;