libxtables: Replace direct exit_error() calls inside libxtables
commit7878483dfaf91adcdb7e8e88c93ded82312af39a
authorJamal Hadi Salim <hadi@cyberus.ca>
Wed, 11 Feb 2009 12:04:26 +0000 (11 13:04 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 11 Feb 2009 12:04:26 +0000 (11 13:04 +0100)
treeba87c1c5bfaaa3c884c6dbc553a30892199c83b6
parent4dcdc9b3f8f42eb3b5a1d12e1b3d2fc1e2675725
libxtables: Replace direct exit_error() calls inside libxtables

Replace direct exit_error() calls inside libxtables with
xt_params->exit_error().

With this change; i can now compile the useless app:
-----
 #include <xtables.h>
 int main(int argc, char **argv) {

        return 0;
 }
----

with "gcc useless.c -lxtables -ldl"

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: Patrick McHardy <kaber@trash.net>
xtables.c