src/plugin.c: Move the error-checking code up.
authorFlorian Forster <octo@huhu.verplant.org>
Tue, 11 Jan 2011 07:57:08 +0000 (08:57 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 11 Jan 2011 07:57:08 +0000 (08:57 +0100)
commitac23a826b01e66fa43c51ce0678b80b5b96f5a59
tree41adecaba3654e62ee49cb0ec112eeb9dfff970b
parent79a87c3315bb85a71a2e69e0abaaabbfa544d6a9
src/plugin.c: Move the error-checking code up.

This way the error message is much closer to the check and we save one
level of indentation for the "good" code.
src/plugin.c