X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsession.c;h=1be728f3697f5c122a93fa7ac358a024c79763e7;hb=bec404ea3cbd66b79f5c2eda1e7b6cf99f099a93;hp=9de7ed9b5c120fe8f297cd2d03b9c0d810e2cc34;hpb=e1e528d4e6e3a4311d8b8f0dec6664e798be31c0;p=pazpar2-moved-to-github.git diff --git a/src/session.c b/src/session.c index 9de7ed9..1be728f 100644 --- a/src/session.c +++ b/src/session.c @@ -1667,6 +1667,9 @@ static int ingest_to_cluster(struct client *cl, // merged metadata rec_md = record_metadata_init(se->nmem, (const char *) value, ser_md->type, 0); + if (!rec_md) + continue; + wheretoput = &cluster->metadata[md_field_id]; // and polulate with data: