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) |
*: 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 @@ * * ifenslave.c: Configure network interfaces for parallel routing. * - * This program controls the Linux implementation of running multiple - * network interfaces in parallel. + * This program controls the Linux implementation of running multiple + * network interfaces in parallel. * - * Author: Donald Becker <becker@cesdis.gsfc.nasa.gov> - * Copyright 1994-1996 Donald Becker + * Author: Donald Becker <becker@cesdis.gsfc.nasa.gov> + * Copyright 1994-1996 Donald Becker * - * This program is free software; you can redistribute it - * and/or modify it under the terms of the GNU General Public - * License as published by the Free Software Foundation. + * This program is free software; you can redistribute it + * and/or modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation. * - * The author may be reached as becker@CESDIS.gsfc.nasa.gov, or C/O - * Center of Excellence in Space Data and Information Sciences - * Code 930.5, Goddard Space Flight Center, Greenbelt MD 20771 + * The author may be reached as becker@CESDIS.gsfc.nasa.gov, or C/O + * Center of Excellence in Space Data and Information Sciences + * Code 930.5, Goddard Space Flight Center, Greenbelt MD 20771 * * Changes : * - 2000/10/02 Willy Tarreau <willy at meta-x.org> : @@ -79,23 +79,23 @@ * current version is 1.0.0 as a base line. * * - 2003/05/22 - Jay Vosburgh <fubar at us dot ibm dot com> - * - ifenslave -c was broken; it's now fixed - * - Fixed problem with routes vanishing from master during enslave - * processing. + * - ifenslave -c was broken; it's now fixed + * - Fixed problem with routes vanishing from master during enslave + * processing. * * - 2003/05/27 - Amir Noam <amir.noam at intel dot com> - * - Fix backward compatibility issues: - * For drivers not using ABI versions, slave was set down while - * it should be left up before enslaving. - * Also, master was not set down and the default set_mac_address() - * would fail and generate an error message in the system log. - * - For opt_c: slave should not be set to the master's setting - * while it is running. It was already set during enslave. To - * simplify things, it is now handeled separately. + * - Fix backward compatibility issues: + * For drivers not using ABI versions, slave was set down while + * it should be left up before enslaving. + * Also, master was not set down and the default set_mac_address() + * would fail and generate an error message in the system log. + * - For opt_c: slave should not be set to the master's setting + * while it is running. It was already set during enslave. To + * simplify things, it is now handeled separately. * * - 2003/12/01 - Shmulik Hen <shmulik.hen at intel dot com> - * - Code cleanup and style changes - * set version to 1.1.0 + * - Code cleanup and style changes + * set version to 1.1.0 */ #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) lsa = xzalloc(LSA_LEN_SIZE + sz); lsa->len = sz; lsa->u.sa.sa_family = family; - return lsa; + return lsa; } static void rearm_alarm(void) @@ -1357,7 +1357,7 @@ int inetd_main(int argc ATTRIBUTE_UNUSED, char **argv) /* peek at the packet and remember peer addr */ int r = recvfrom(ctrl, NULL, 0, MSG_PEEK|MSG_DONTWAIT, &lsa->u.sa, &lsa->len); - if (r < 0) + if (r < 0) goto do_exit1; /* make this socket "connected" to peer addr: * 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) // make a random string -- it will delimit message parts srand(monotonic_us()); - boundary = xasprintf("%d-%d-%d", rand(), rand(), rand()); + boundary = xasprintf("%d-%d-%d", rand(), rand(), rand()); // put common headers and body start printf( @@ -457,7 +457,7 @@ int sendgetmail_main(int argc ATTRIBUTE_UNUSED, char **argv) printf("\r\n--%s--\r\n" "\r\n", boundary); // leave "put message" mode - smtp_check(".", 250); + smtp_check(".", 250); // ... and say goodbye smtp_check("QUIT", 221); @@ -482,7 +482,7 @@ int sendgetmail_main(int argc ATTRIBUTE_UNUSED, char **argv) // cache postprocess program *fargs = *argv; - + // authenticate if (!(opts & OPT_U)) { //opts |= OPT_U; |