parse.c: only parse fields corresponding to type
commit8786ea02ecb93e0293c11c84053b6b2e02c62982
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 10 Jun 2013 15:30:36 +0000 (10 17:30 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 19 Jun 2013 15:27:53 +0000 (19 17:27 +0200)
tree1c1a5cca4ec4f34331e09102ca2ede36200beca9
parent9933d86d71c666723ff65c28fab0cddbc1f65e75
parse.c: only parse fields corresponding to type

This should avoid problems on inconsistent inputs.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
parse.c