summaryrefslogtreecommitdiffstats
path: root/src/H5Ocache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Ocache.c')
-rw-r--r--src/H5Ocache.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5Ocache.c b/src/H5Ocache.c
index 2a76526..774055a 100644
--- a/src/H5Ocache.c
+++ b/src/H5Ocache.c
@@ -606,6 +606,11 @@ H5O_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void UNUSED * _udata1,
oh->has_refcount_msg = TRUE;
oh->nlink = *refcount;
} /* end if */
+ /* Check if next message to examine is a link message */
+ else if(H5O_LINK_ID == oh->mesg[curmesg].type->id) {
+ /* Increment the count of link messages */
+ oh->link_msgs_seen++;
+ } /* end if */
} /* end for */
} /* end while */