summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/ifenslave.c46
-rw-r--r--networking/inetd.c4
-rw-r--r--networking/sendmail.c6
3 files changed, 28 insertions, 28 deletions
diff --git a/networking/ifenslave.c b/networking/ifenslave.c
index 1e3d5bb..875e835 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 5cdfe0a..eb19d16 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 2218f2c..378c4bb 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;