aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/Config.in8
-rw-r--r--networking/ifupdown.c2
-rw-r--r--networking/nc.c12
-rw-r--r--networking/ping6.c2
-rw-r--r--networking/telnet.c4
-rw-r--r--networking/udhcp/dhcpc.h2
-rw-r--r--networking/wget.c2
-rw-r--r--networking/zcip.c4
8 files changed, 18 insertions, 18 deletions
diff --git a/networking/Config.in b/networking/Config.in
index 2dff021a8..b78ae37e7 100644
--- a/networking/Config.in
+++ b/networking/Config.in
@@ -22,7 +22,7 @@ config CONFIG_DNSD
bool "dnsd"
default n
help
- Small and static DNS server daemon.
+ Small and static DNS server daemon.
config CONFIG_ETHER_WAKE
bool "ether-wake"
@@ -132,9 +132,9 @@ config CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
default n
depends on CONFIG_FEATURE_HTTPD_CGI
help
- This option enables support for running scripts through an
- interpreter. Turn this on if you want PHP scripts to work
- properly. You need to supply an addition line in your httpd
+ This option enables support for running scripts through an
+ interpreter. Turn this on if you want PHP scripts to work
+ properly. You need to supply an addition line in your httpd
config file:
*.php:/path/to/your/php
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 6429c07e5..fa5bfe1e9 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -708,7 +708,7 @@ static struct interfaces_file_t *read_interfaces(const char *filename)
llist_t *iface_list;
for (iface_list = defn->ifaces; iface_list; iface_list = iface_list->link) {
struct interface_defn_t *tmp = (struct interface_defn_t *) iface_list->data;
- if ((strcmp(tmp->iface, currif->iface) == 0) &&
+ if ((strcmp(tmp->iface, currif->iface) == 0) &&
(tmp->address_family == currif->address_family)) {
bb_error_msg("duplicate interface \"%s\"", tmp->iface);
return NULL;
diff --git a/networking/nc.c b/networking/nc.c
index 3f4149e14..f8b3fb2dd 100644
--- a/networking/nc.c
+++ b/networking/nc.c
@@ -1,9 +1,9 @@
/* vi: set sw=4 ts=4: */
/* nc: mini-netcat - built from the ground up for LRP
- *
+ *
* Copyright (C) 1998, 1999 Charles P. Wright
* Copyright (C) 1998 Dave Cinege
- *
+ *
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
@@ -25,7 +25,7 @@ int nc_main(int argc, char **argv)
memset(&address, 0, sizeof(address));
- if (ENABLE_NC_SERVER || ENABLE_NC_EXTRA) {
+ if (ENABLE_NC_SERVER || ENABLE_NC_EXTRA) {
while ((opt = getopt(argc, argv, "lp:" USE_NC_EXTRA("i:ew:f:"))) > 0) {
if (ENABLE_NC_SERVER && opt=='l') do_listen++;
else if (ENABLE_NC_SERVER && opt=='p')
@@ -40,7 +40,7 @@ int nc_main(int argc, char **argv)
}
}
-
+
// For listen or file we need zero arguments, dialout is 2.
// For exec we need at least one more argument at the end, more ok
@@ -53,7 +53,7 @@ int nc_main(int argc, char **argv)
signal(SIGALRM, timeout);
alarm(wsecs);
}
-
+
if (infile) cfd = xopen(infile, O_RDWR);
else {
opt = 1;
@@ -132,7 +132,7 @@ repeatyness:
}
// Select loop copying stdin to cfd, and cfd to stdout.
-
+
FD_ZERO(&readfds);
FD_SET(cfd, &readfds);
FD_SET(STDIN_FILENO, &readfds);
diff --git a/networking/ping6.c b/networking/ping6.c
index 990328a51..6079c40d9 100644
--- a/networking/ping6.c
+++ b/networking/ping6.c
@@ -370,7 +370,7 @@ static void ping(const char *host)
pingaddr.sin6_scope_id = if_index;
printf("PING %s (%s): %d data bytes\n",
- hostent->h_name,
+ hostent->h_name,
inet_ntop(AF_INET6, &pingaddr.sin6_addr,
buf, sizeof(buf)),
datalen);
diff --git a/networking/telnet.c b/networking/telnet.c
index 5324d7a20..344fc3270 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -185,9 +185,9 @@ static void handlenetoutput(int len)
* I don't agree.
* first - I cannot use programs like sz/rz
* second - the 0x0D is sent as one character and if the next
- * char is 0x0A then it's eaten by a server side.
+ * char is 0x0A then it's eaten by a server side.
* third - whay doy you have to make 'many write()s'?
- * I don't understand.
+ * I don't understand.
* So I implemented it. It's realy useful for me. I hope that
* others people will find it interesting to.
*/
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h
index 42af0a367..3dff11ab0 100644
--- a/networking/udhcp/dhcpc.h
+++ b/networking/udhcp/dhcpc.h
@@ -29,7 +29,7 @@ struct client_config_t {
uint8_t *hostname; /* Optional hostname to use */
uint8_t *fqdn; /* Optional fully qualified domain name to use */
int ifindex; /* Index number of the interface to use */
- int retries; /* Max number of request packets */
+ int retries; /* Max number of request packets */
int timeout; /* Number of seconds to try to get a lease */
uint8_t arp[6]; /* Our arp address */
};
diff --git a/networking/wget.c b/networking/wget.c
index 181ea9397..1a80972fc 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -483,7 +483,7 @@ read_response:
do {
while (filesize > 0 || !got_clen) {
unsigned rdsz = sizeof(buf);
- if (filesize < sizeof(buf) && (chunked || got_clen))
+ if (filesize < sizeof(buf) && (chunked || got_clen))
rdsz = filesize;
n = safe_fread(buf, 1, rdsz, dfp);
if (n <= 0)
diff --git a/networking/zcip.c b/networking/zcip.c
index 5d2a5f786..c6b0d2d80 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -314,7 +314,7 @@ int zcip_main(int argc, char *argv[])
tv1.tv_sec++;
}
tv1.tv_sec += timeout / 1000;
-
+
VDBG("...wait %ld %s nprobes=%d, nclaims=%d\n",
timeout, intf, nprobes, nclaims);
switch (poll(fds, 1, timeout)) {
@@ -479,7 +479,7 @@ int zcip_main(int argc, char *argv[])
target_ip_conflict = 1;
}
- VDBG("state = %d, source ip conflict = %d, target ip conflict = %d\n",
+ VDBG("state = %d, source ip conflict = %d, target ip conflict = %d\n",
state, source_ip_conflict, target_ip_conflict);
switch (state) {
case PROBE: