X-Git-Url: http://developer.intra2net.com/git/?p=libipt_ACCOUNT;a=blobdiff_plain;f=iptaccount%2Fiptaccount.c;h=91e4bbf4f32d84264d298870c4e52f12158b941f;hp=4854efda036b89b4a253a4d840fb6b663182e41c;hb=28ea7aa88ae4a637ddd402bd955dbf42d4fd3b64;hpb=f4d59c40b37d36b95a0f50d44e0e2927d74299f6 diff --git a/iptaccount/iptaccount.c b/iptaccount/iptaccount.c index 4854efd..91e4bbf 100644 --- a/iptaccount/iptaccount.c +++ b/iptaccount/iptaccount.c @@ -61,6 +61,7 @@ int main(int argc, char *argv[]) doFlush=0, doContinue=0; char *table_name = NULL; + const char *name; printf("\nipt_ACCOUNT userspace accounting tool v%s\n\n", VERSION); @@ -157,7 +158,6 @@ int main(int argc, char *argv[]) printf("get_table_names failed: %s\n", ctx.error_str); exit (-1); } - const char *name; while ((name = ipt_ACCOUNT_get_next_name(&ctx)) != 0) printf("Found table: %s\n", name); }