Since the ind is allocated with the calloc, ind->nodes contains NULL and _ind->allocnodes contains 0. realloc works as malloc if the first parameter is NULL. Your size is also same for both. (_ind->allocnodes=0 + 64 = 64)
So we can rid of the if statement and we can use realloc for both case.
I made a small change besides the memory controls.
Since the ind is allocated with the calloc, ind->nodes contains NULL and _ind->allocnodes contains 0. realloc works as malloc if the first parameter is NULL. Your size is also same for both. (_ind->allocnodes=0 + 64 = 64)
So we can rid of the if statement and we can use realloc for both case.