summaryrefslogtreecommitdiff
path: root/lib/nl.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-08-08 12:04:01 +0200
committerThomas Haller <thaller@redhat.com>2016-08-12 23:06:27 +0200
commitc52087601198f3fb8ec97839e30c6f6309f0d680 (patch)
treea5646cac6bbe847f242dc4d8853a1257d9a70f84 /lib/nl.c
parent625c8f13cf793ba61365c510970f4569a483f2ba (diff)
downloadlibnl-c52087601198f3fb8ec97839e30c6f6309f0d680.tar.gz
trivial: whitespace-only fixes for src and lib
Fixes alignment, lines with just whitespace and mixed tab/space indentation. Searched, reviewed and optionally fixed in vim using regex ^\t* [\t ]*\([^*us ]\|$\)\|\t\+$ http://lists.infradead.org/pipermail/libnl/2016-August/002183.html Signed-off-by: Peter Wu <peter@lekensteyn.nl> Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'lib/nl.c')
-rw-r--r--lib/nl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/nl.c b/lib/nl.c
index 2d1ce81c..123f657a 100644
--- a/lib/nl.c
+++ b/lib/nl.c
@@ -761,7 +761,7 @@ retry:
goto retry;
}
- if (flags != 0) {
+ if (flags != 0) {
/* Buffer is big enough, do the actual reading */
flags = 0;
goto retry;
@@ -988,7 +988,7 @@ continue_reading:
/* Error message reported back from kernel. */
if (cb->cb_err) {
err = cb->cb_err(&nla, e,
- cb->cb_err_arg);
+ cb->cb_err_arg);
if (err < 0)
goto out;
else if (err == NL_SKIP)
@@ -1206,7 +1206,7 @@ int nl_pickup_keep_syserr(struct nl_sock *sk,
struct nl_cb *cb;
int err;
struct pickup_param pp = {
- .parser = parser,
+ .parser = parser,
};
cb = nl_cb_clone(sk->s_cb);