Update link.c

Line 62 was missing '>' and incorrectly called linkType variable.