diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-14 15:57:44 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-14 15:57:44 +0100 |
commit | 60cb48ca50fcff24aa6c3927f51e4a508fa118f4 (patch) | |
tree | 493e30821f3d484b7395ce9d9e4be39ec9a43126 /networking/tc.c | |
parent | b8173b603f57dcf918a67f1ec00763ab5f4e1cf8 (diff) | |
download | busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.gz busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.bz2 busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.zip |
whitespace cleanup. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tc.c')
-rw-r--r-- | networking/tc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/networking/tc.c b/networking/tc.c index 1574353a5..f968707a9 100644 --- a/networking/tc.c +++ b/networking/tc.c | |||
@@ -391,7 +391,7 @@ static int print_class(const struct sockaddr_nl *who UNUSED_PARAM, | |||
391 | printf("root "); | 391 | printf("root "); |
392 | else if (msg->tcm_parent) { | 392 | else if (msg->tcm_parent) { |
393 | classid = print_tc_classid(filter_qdisc ? | 393 | classid = print_tc_classid(filter_qdisc ? |
394 | TC_H_MIN(msg->tcm_parent) : msg->tcm_parent); | 394 | TC_H_MIN(msg->tcm_parent) : msg->tcm_parent); |
395 | printf("parent %s ", classid); | 395 | printf("parent %s ", classid); |
396 | if (ENABLE_FEATURE_CLEAN_UP) | 396 | if (ENABLE_FEATURE_CLEAN_UP) |
397 | free(classid); | 397 | free(classid); |
@@ -526,7 +526,8 @@ int tc_main(int argc UNUSED_PARAM, char **argv) | |||
526 | duparg(*argv, "handle"); | 526 | duparg(*argv, "handle"); |
527 | /* reject LONG_MIN || LONG_MAX */ | 527 | /* reject LONG_MIN || LONG_MAX */ |
528 | /* TODO: for fw | 528 | /* TODO: for fw |
529 | if ((slash = strchr(handle, '/')) != NULL) | 529 | slash = strchr(handle, '/'); |
530 | if (slash != NULL) | ||
530 | *slash = '\0'; | 531 | *slash = '\0'; |
531 | */ | 532 | */ |
532 | msg.tcm_handle = get_u32(*argv, "handle"); | 533 | msg.tcm_handle = get_u32(*argv, "handle"); |