diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-24 02:18:03 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-24 02:18:03 +0000 |
commit | c693840fe81e59a308e0c6e3d2bafae728d1caff (patch) | |
tree | 10924edda7796e5242e460364c2f3587f2841c0f /networking | |
parent | 42cc304e9084843ad6b153afaf4b3f6c6528c364 (diff) | |
download | busybox-w32-c693840fe81e59a308e0c6e3d2bafae728d1caff.tar.gz busybox-w32-c693840fe81e59a308e0c6e3d2bafae728d1caff.tar.bz2 busybox-w32-c693840fe81e59a308e0c6e3d2bafae728d1caff.zip |
*: whitespace fixes, no code changes
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifenslave.c | 46 | ||||
-rw-r--r-- | networking/inetd.c | 4 | ||||
-rw-r--r-- | networking/sendmail.c | 6 |
3 files changed, 28 insertions, 28 deletions
diff --git a/networking/ifenslave.c b/networking/ifenslave.c index 1e3d5bb95..875e835e7 100644 --- a/networking/ifenslave.c +++ b/networking/ifenslave.c | |||
@@ -5,19 +5,19 @@ | |||
5 | * | 5 | * |
6 | * ifenslave.c: Configure network interfaces for parallel routing. | 6 | * ifenslave.c: Configure network interfaces for parallel routing. |
7 | * | 7 | * |
8 | * This program controls the Linux implementation of running multiple | 8 | * This program controls the Linux implementation of running multiple |
9 | * network interfaces in parallel. | 9 | * network interfaces in parallel. |
10 | * | 10 | * |
11 | * Author: Donald Becker <becker@cesdis.gsfc.nasa.gov> | 11 | * Author: Donald Becker <becker@cesdis.gsfc.nasa.gov> |
12 | * Copyright 1994-1996 Donald Becker | 12 | * Copyright 1994-1996 Donald Becker |
13 | * | 13 | * |
14 | * This program is free software; you can redistribute it | 14 | * This program is free software; you can redistribute it |
15 | * and/or modify it under the terms of the GNU General Public | 15 | * and/or modify it under the terms of the GNU General Public |
16 | * License as published by the Free Software Foundation. | 16 | * License as published by the Free Software Foundation. |
17 | * | 17 | * |
18 | * The author may be reached as becker@CESDIS.gsfc.nasa.gov, or C/O | 18 | * The author may be reached as becker@CESDIS.gsfc.nasa.gov, or C/O |
19 | * Center of Excellence in Space Data and Information Sciences | 19 | * Center of Excellence in Space Data and Information Sciences |
20 | * Code 930.5, Goddard Space Flight Center, Greenbelt MD 20771 | 20 | * Code 930.5, Goddard Space Flight Center, Greenbelt MD 20771 |
21 | * | 21 | * |
22 | * Changes : | 22 | * Changes : |
23 | * - 2000/10/02 Willy Tarreau <willy at meta-x.org> : | 23 | * - 2000/10/02 Willy Tarreau <willy at meta-x.org> : |
@@ -79,23 +79,23 @@ | |||
79 | * current version is 1.0.0 as a base line. | 79 | * current version is 1.0.0 as a base line. |
80 | * | 80 | * |
81 | * - 2003/05/22 - Jay Vosburgh <fubar at us dot ibm dot com> | 81 | * - 2003/05/22 - Jay Vosburgh <fubar at us dot ibm dot com> |
82 | * - ifenslave -c was broken; it's now fixed | 82 | * - ifenslave -c was broken; it's now fixed |
83 | * - Fixed problem with routes vanishing from master during enslave | 83 | * - Fixed problem with routes vanishing from master during enslave |
84 | * processing. | 84 | * processing. |
85 | * | 85 | * |
86 | * - 2003/05/27 - Amir Noam <amir.noam at intel dot com> | 86 | * - 2003/05/27 - Amir Noam <amir.noam at intel dot com> |
87 | * - Fix backward compatibility issues: | 87 | * - Fix backward compatibility issues: |
88 | * For drivers not using ABI versions, slave was set down while | 88 | * For drivers not using ABI versions, slave was set down while |
89 | * it should be left up before enslaving. | 89 | * it should be left up before enslaving. |
90 | * Also, master was not set down and the default set_mac_address() | 90 | * Also, master was not set down and the default set_mac_address() |
91 | * would fail and generate an error message in the system log. | 91 | * would fail and generate an error message in the system log. |
92 | * - For opt_c: slave should not be set to the master's setting | 92 | * - For opt_c: slave should not be set to the master's setting |
93 | * while it is running. It was already set during enslave. To | 93 | * while it is running. It was already set during enslave. To |
94 | * simplify things, it is now handeled separately. | 94 | * simplify things, it is now handeled separately. |
95 | * | 95 | * |
96 | * - 2003/12/01 - Shmulik Hen <shmulik.hen at intel dot com> | 96 | * - 2003/12/01 - Shmulik Hen <shmulik.hen at intel dot com> |
97 | * - Code cleanup and style changes | 97 | * - Code cleanup and style changes |
98 | * set version to 1.1.0 | 98 | * set version to 1.1.0 |
99 | */ | 99 | */ |
100 | 100 | ||
101 | #include "libbb.h" | 101 | #include "libbb.h" |
diff --git a/networking/inetd.c b/networking/inetd.c index 5cdfe0a22..eb19d1630 100644 --- a/networking/inetd.c +++ b/networking/inetd.c | |||
@@ -366,7 +366,7 @@ static len_and_sockaddr *xzalloc_lsa(int family) | |||
366 | lsa = xzalloc(LSA_LEN_SIZE + sz); | 366 | lsa = xzalloc(LSA_LEN_SIZE + sz); |
367 | lsa->len = sz; | 367 | lsa->len = sz; |
368 | lsa->u.sa.sa_family = family; | 368 | lsa->u.sa.sa_family = family; |
369 | return lsa; | 369 | return lsa; |
370 | } | 370 | } |
371 | 371 | ||
372 | static void rearm_alarm(void) | 372 | static void rearm_alarm(void) |
@@ -1357,7 +1357,7 @@ int inetd_main(int argc ATTRIBUTE_UNUSED, char **argv) | |||
1357 | /* peek at the packet and remember peer addr */ | 1357 | /* peek at the packet and remember peer addr */ |
1358 | int r = recvfrom(ctrl, NULL, 0, MSG_PEEK|MSG_DONTWAIT, | 1358 | int r = recvfrom(ctrl, NULL, 0, MSG_PEEK|MSG_DONTWAIT, |
1359 | &lsa->u.sa, &lsa->len); | 1359 | &lsa->u.sa, &lsa->len); |
1360 | if (r < 0) | 1360 | if (r < 0) |
1361 | goto do_exit1; | 1361 | goto do_exit1; |
1362 | /* make this socket "connected" to peer addr: | 1362 | /* make this socket "connected" to peer addr: |
1363 | * only packets from this peer will be recv'ed, | 1363 | * only packets from this peer will be recv'ed, |
diff --git a/networking/sendmail.c b/networking/sendmail.c index 2218f2c19..378c4bb2e 100644 --- a/networking/sendmail.c +++ b/networking/sendmail.c | |||
@@ -408,7 +408,7 @@ int sendgetmail_main(int argc ATTRIBUTE_UNUSED, char **argv) | |||
408 | 408 | ||
409 | // make a random string -- it will delimit message parts | 409 | // make a random string -- it will delimit message parts |
410 | srand(monotonic_us()); | 410 | srand(monotonic_us()); |
411 | boundary = xasprintf("%d-%d-%d", rand(), rand(), rand()); | 411 | boundary = xasprintf("%d-%d-%d", rand(), rand(), rand()); |
412 | 412 | ||
413 | // put common headers and body start | 413 | // put common headers and body start |
414 | printf( | 414 | printf( |
@@ -457,7 +457,7 @@ int sendgetmail_main(int argc ATTRIBUTE_UNUSED, char **argv) | |||
457 | printf("\r\n--%s--\r\n" "\r\n", boundary); | 457 | printf("\r\n--%s--\r\n" "\r\n", boundary); |
458 | 458 | ||
459 | // leave "put message" mode | 459 | // leave "put message" mode |
460 | smtp_check(".", 250); | 460 | smtp_check(".", 250); |
461 | // ... and say goodbye | 461 | // ... and say goodbye |
462 | smtp_check("QUIT", 221); | 462 | smtp_check("QUIT", 221); |
463 | 463 | ||
@@ -482,7 +482,7 @@ int sendgetmail_main(int argc ATTRIBUTE_UNUSED, char **argv) | |||
482 | 482 | ||
483 | // cache postprocess program | 483 | // cache postprocess program |
484 | *fargs = *argv; | 484 | *fargs = *argv; |
485 | 485 | ||
486 | // authenticate | 486 | // authenticate |
487 | if (!(opts & OPT_U)) { | 487 | if (!(opts & OPT_U)) { |
488 | //opts |= OPT_U; | 488 | //opts |= OPT_U; |