summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-05-05 15:11:04 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-05-05 15:11:04 +0200
commitc5aff96806dbe1ca04dccaea3abbc35f00374d81 (patch)
treed20e4dc97289fd711dd9d586be2134f3ed53b32a
parentee22d4da9d695b801475f90a0adc9fbc85c1261a (diff)
bpf_comp: minor: fix linebreak
Add a newline after this long one. Also, after opening braces there should be no newline. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
-rw-r--r--bpf_comp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpf_comp.c b/bpf_comp.c
index 27f7a00..f7fa278 100644
--- a/bpf_comp.c
+++ b/bpf_comp.c
@@ -25,8 +25,8 @@ void bpf_try_compile(const char *rulefile, struct sock_fprog *bpf, uint32_t link
bpf->len = _bpf.bf_len;
bpf->filter = xrealloc(bpf->filter, 1, bpf->len * sizeof(*out));
- for (i = 0, ins = _bpf.bf_insns, out = bpf->filter; i < bpf->len; ++i, ++ins, ++out) {
-
+ for (i = 0, ins = _bpf.bf_insns, out = bpf->filter; i < bpf->len;
+ ++i, ++ins, ++out) {
out->code = ins->code;
out->jt = ins->jt;
out->jf = ins->jf;