summaryrefslogtreecommitdiffstats
path: root/src/nl-qdisc-delete.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-08-08 10:04:01 (GMT)
committerThomas Haller <thaller@redhat.com>2016-08-12 21:06:27 (GMT)
commitc52087601198f3fb8ec97839e30c6f6309f0d680 (patch)
treea5646cac6bbe847f242dc4d8853a1257d9a70f84 /src/nl-qdisc-delete.c
parent625c8f13cf793ba61365c510970f4569a483f2ba (diff)
downloadlibnl-c52087601198f3fb8ec97839e30c6f6309f0d680.zip
libnl-c52087601198f3fb8ec97839e30c6f6309f0d680.tar.gz
libnl-c52087601198f3fb8ec97839e30c6f6309f0d680.tar.bz2
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 'src/nl-qdisc-delete.c')
-rw-r--r--src/nl-qdisc-delete.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nl-qdisc-delete.c b/src/nl-qdisc-delete.c
index 2f945bb..c4acbfe 100644
--- a/src/nl-qdisc-delete.c
+++ b/src/nl-qdisc-delete.c
@@ -71,14 +71,14 @@ int main(int argc, char *argv[])
struct rtnl_tc *tc;
struct nl_cache *link_cache, *qdisc_cache;
int nfilter = 0;
-
+
sock = nl_cli_alloc_socket();
nl_cli_connect(sock, NETLINK_ROUTE);
link_cache = nl_cli_link_alloc_cache(sock);
qdisc_cache = nl_cli_qdisc_alloc_cache(sock);
- qdisc = nl_cli_qdisc_alloc();
+ qdisc = nl_cli_qdisc_alloc();
tc = (struct rtnl_tc *) qdisc;
-
+
for (;;) {
int c, optidx = 0;
enum {
@@ -97,7 +97,7 @@ int main(int argc, char *argv[])
{ "kind", 1, 0, 'k' },
{ 0, 0, 0, 0 }
};
-
+
c = getopt_long(argc, argv, "qhvd:p:i:k:", long_opts, &optidx);
if (c == -1)
break;
@@ -126,7 +126,7 @@ int main(int argc, char *argv[])
nl_cli_tc_parse_kind(tc, optarg);
break;
}
- }
+ }
if (nfilter == 0 && !interactive && !default_yes) {
nl_cli_fatal(EINVAL,