Update metadata.c
Merge pull request #1072 from xboston/patch-8

Update metadata.c