normalize_record: missing else
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 24 Apr 2014 09:01:31 +0000 (11:01 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 24 Apr 2014 09:01:31 +0000 (11:01 +0200)
src/normalize_record.c

index 036c96e..ea15f46 100644 (file)
@@ -66,6 +66,7 @@ normalize_record_t normalize_record_create(struct conf_service *service,
 
         if (!xsp_doc)
             no_errors++;
+        else
         {
             *m = nmem_malloc(nt->nmem, sizeof(**m));
             (*m)->marcmap = NULL;