]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
xt_psd: avoid if (c=h) do {..} while (c = c->next)
authorFlorian Westphal <fw@strlen.de>
Thu, 16 Aug 2012 10:01:09 +0000 (12:01 +0200)
committerJan Engelhardt <jengelh@inai.de>
Mon, 17 Sep 2012 02:42:56 +0000 (04:42 +0200)
commit57d25f22f19f7af6599dec9ec2e3239462feaa72
tree5c03655facbea7ba73c52af4855c189061f7d8ae
parent2f18ab31ec72cf5f8b6d33c9567f55d15d0213bd
xt_psd: avoid if (c=h) do {..} while (c = c->next)

It is aquivalent to c=h; while (c) { ..; c = c->next; }
which is a bit easier to read.
extensions/xt_psd.c