summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/httpd.c16
-rw-r--r--networking/inetd.c4
-rw-r--r--networking/ipcalc.c4
-rw-r--r--networking/nameif.c4
-rw-r--r--networking/udhcp/clientpacket.c2
-rw-r--r--networking/udhcp/common.c2
-rw-r--r--networking/udhcp/common.h4
-rw-r--r--networking/udhcp/packet.c2
-rw-r--r--networking/udhcp/pidfile.c2
-rw-r--r--networking/udhcp/pidfile.h2
-rw-r--r--networking/udhcp/script.c2
-rw-r--r--networking/udhcp/serverpacket.c2
-rw-r--r--networking/udhcp/signalpipe.c4
-rw-r--r--networking/wget.c4
14 files changed, 27 insertions, 27 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index aad30a1..7322d14 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -40,7 +40,7 @@
* foo=`httpd -d $foo` # decode "Hello%20World" as "Hello World"
* bar=`httpd -e "<Hello World>"` # encode as "&#60Hello&#32World&#62"
* Note that url encoding for arguments is not the same as html encoding for
- * presenation. -d decodes a url-encoded argument while -e encodes in html
+ * presentation. -d decodes a url-encoded argument while -e encodes in html
* for page display.
*
* httpd.conf has the following format:
@@ -55,7 +55,7 @@
* /adm:toor:PaSsWd # or user toor, pwd PaSsWd on urls starting with /adm/
* .au:audio/basic # additional mime type for audio.au files
*
- * A/D may be as a/d or allow/deny - first char case unsensitive
+ * A/D may be as a/d or allow/deny - first char case insensitive
* Deny IP rules take precedence over allow rules.
*
*
@@ -127,7 +127,7 @@ static const char home[] = "./";
# define cont_l_fmt "%ld"
#endif
-// Note: bussybox xfuncs are not used because we want the server to keep running
+// Note: busybox xfuncs are not used because we want the server to keep running
// if something bad happens due to a malformed user request.
// As a result, all memory allocation after daemonize
// is checked rigorously
@@ -260,7 +260,7 @@ static HttpdConfig *config;
static const char request_GET[] = "GET"; /* size algorithic optimize */
static const char* const suffixTable [] = {
-/* Warning: shorted equalent suffix in one line must be first */
+/* Warning: shorted equivalent suffix in one line must be first */
".htm.html", "text/html",
".jpg.jpeg", "image/jpeg",
".gif", "image/gif",
@@ -775,7 +775,7 @@ static char *decodeString(char *orig, int flag_plus_to_space)
*
> $Function: addEnv()
*
- * $Description: Add an enviornment variable setting to the global list.
+ * $Description: Add an environment variable setting to the global list.
* A NAME=VALUE string is allocated, filled, and added to the list of
* environment settings passed to the cgi execution script.
*
@@ -1380,7 +1380,7 @@ static int checkPermIP(void)
return cur->allow_deny == 'A'; /* Allow/Deny */
}
- /* if uncofigured, return 1 - access from all */
+ /* if unconfigured, return 1 - access from all */
return !config->flg_deny_all;
}
@@ -1765,7 +1765,7 @@ static int miniHttpd(int server)
while (1) {
readfd = portfd;
- /* Now wait INDEFINATELY on the set of sockets! */
+ /* Now wait INDEFINITELY on the set of sockets! */
if (select(server + 1, &readfd, 0, 0, 0) > 0) {
if (FD_ISSET(server, &readfd)) {
int on;
@@ -1990,7 +1990,7 @@ int httpd_main(int argc, char *argv[])
#ifndef CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
server = openServer();
# ifdef CONFIG_FEATURE_HTTPD_SETUID
- /* drop privilegies */
+ /* drop privileges */
if(uid > 0)
setuid(uid);
# endif
diff --git a/networking/inetd.c b/networking/inetd.c
index 283c33b..4440a2d 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -56,7 +56,7 @@
* server program full path name
* server program arguments maximum of MAXARGS (20)
*
- * RPC services unsuported
+ * RPC services unsupported
*
* Comment lines are indicated by a `#' in column 1.
*/
@@ -345,7 +345,7 @@ more:
sep->se_family = AF_UNIX;
} else {
if (strncmp(cp_ptr, "rpc/", 4) == 0) {
- syslog(LOG_ERR, "%s: rpc services not suported",
+ syslog(LOG_ERR, "%s: rpc services not supported",
sep->se_service);
goto more;
}
diff --git a/networking/ipcalc.c b/networking/ipcalc.c
index 5bf07c6..f8ca972 100644
--- a/networking/ipcalc.c
+++ b/networking/ipcalc.c
@@ -5,8 +5,8 @@
* By Jordan Crouse <jordan@cosmicpenguin.net>
* Stephan Linz <linz@li-pro.net>
*
- * This is a complete reimplentation of the ipcalc program
- * from Redhat. I didn't look at their source code, but there
+ * This is a complete reimplementation of the ipcalc program
+ * from Red Hat. I didn't look at their source code, but there
* is no denying that this is a loving reimplementation
*/
diff --git a/networking/nameif.c b/networking/nameif.c
index dca7c8c..dcc5ec0 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -1,7 +1,7 @@
/*
* nameif.c - Naming Interfaces based on MAC address for busybox.
*
- * Writen 2000 by Andi Kleen.
+ * Written 2000 by Andi Kleen.
* Busybox port 2002 by Nick Fedchik <nick@fedchik.org.ua>
* Glenn McGrath <bug1@optushome.com.au>
*
@@ -47,7 +47,7 @@
/* take from linux/sockios.h */
#define SIOCSIFNAME 0x8923 /* set interface name */
-/* Octets in one ethernet addr, from <linux/if_ether.h> */
+/* Octets in one Ethernet addr, from <linux/if_ether.h> */
#define ETH_ALEN 6
#ifndef ifr_newname
diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c
index 5b27004..ec96601 100644
--- a/networking/udhcp/clientpacket.c
+++ b/networking/udhcp/clientpacket.c
@@ -82,7 +82,7 @@ static void init_packet(struct dhcpMessage *packet, char type)
}
-/* Add a paramater request list for stubborn DHCP servers. Pull the data
+/* Add a parameter request list for stubborn DHCP servers. Pull the data
* from the struct in options.c. Don't do bounds checking here because it
* goes towards the head of the packet. */
static void add_requests(struct dhcpMessage *packet)
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c
index 5dad7d5..ddfc547 100644
--- a/networking/udhcp/common.c
+++ b/networking/udhcp/common.c
@@ -4,7 +4,7 @@
* simple helper functions.
*
* Russ Dill <Russ.Dill@asu.edu> 2001-2003
- * Rewrited by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
+ * Rewritten by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
*
* 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
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index 677bbfd..cdc51cf 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -1,7 +1,7 @@
/* common.h
*
- * Russ Dill <Russ.Dill@asu.edu> Soptember 2001
- * Rewrited by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
+ * Russ Dill <Russ.Dill@asu.edu> September 2001
+ * Rewritten by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
*
* 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
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c
index 7cbd83a..1c6bb0c 100644
--- a/networking/udhcp/packet.c
+++ b/networking/udhcp/packet.c
@@ -113,7 +113,7 @@ uint16_t checksum(void *addr, int count)
}
-/* Constuct a ip/udp header for a packet, and specify the source and dest hardware address */
+/* Construct a ip/udp header for a packet, and specify the source and dest hardware address */
int raw_packet(struct dhcpMessage *payload, uint32_t source_ip, int source_port,
uint32_t dest_ip, int dest_port, uint8_t *dest_arp, int ifindex)
{
diff --git a/networking/udhcp/pidfile.c b/networking/udhcp/pidfile.c
index d656c7a..2e0c753 100644
--- a/networking/udhcp/pidfile.c
+++ b/networking/udhcp/pidfile.c
@@ -2,7 +2,7 @@
*
* Functions to assist in the writing and removing of pidfiles.
*
- * Russ Dill <Russ.Dill@asu.edu> Soptember 2001
+ * Russ Dill <Russ.Dill@asu.edu> September 2001
*
* 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
diff --git a/networking/udhcp/pidfile.h b/networking/udhcp/pidfile.h
index 7f8e8ae..ea97d1d 100644
--- a/networking/udhcp/pidfile.h
+++ b/networking/udhcp/pidfile.h
@@ -2,7 +2,7 @@
*
* Functions to assist in the writing and removing of pidfiles.
*
- * Russ Dill <Russ.Dill@asu.edu> Soptember 2001
+ * Russ Dill <Russ.Dill@asu.edu> September 2001
*
* 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
diff --git a/networking/udhcp/script.c b/networking/udhcp/script.c
index cae4db7..e0a8dad 100644
--- a/networking/udhcp/script.c
+++ b/networking/udhcp/script.c
@@ -132,7 +132,7 @@ static void fill_options(char *dest, uint8_t *option, struct dhcp_option *type_p
}
-/* put all the paramaters into an environment */
+/* put all the parameters into an environment */
static char **fill_envp(struct dhcpMessage *packet)
{
int num_options = 0;
diff --git a/networking/udhcp/serverpacket.c b/networking/udhcp/serverpacket.c
index 937436a..bc9d822 100644
--- a/networking/udhcp/serverpacket.c
+++ b/networking/udhcp/serverpacket.c
@@ -1,6 +1,6 @@
/* serverpacket.c
*
- * Constuct and send DHCP server packets
+ * Construct and send DHCP server packets
*
* Russ Dill <Russ.Dill@asu.edu> July 2001
*
diff --git a/networking/udhcp/signalpipe.c b/networking/udhcp/signalpipe.c
index 4f3292b..074c8a6 100644
--- a/networking/udhcp/signalpipe.c
+++ b/networking/udhcp/signalpipe.c
@@ -1,8 +1,8 @@
/* signalpipe.c
*
- * Signal pipe infastructure. A reliable way of delivering signals.
+ * Signal pipe infrastructure. A reliable way of delivering signals.
*
- * Russ Dill <Russ.Dill@asu.edu> Decemeber 2003
+ * Russ Dill <Russ.Dill@asu.edu> December 2003
*
* 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
diff --git a/networking/wget.c b/networking/wget.c
index 3fbf6b4..e233daf 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -816,7 +816,7 @@ progressmeter(int flag)
#endif
/* Original copyright notice which applies to the CONFIG_FEATURE_WGET_STATUSBAR stuff,
- * much of which was blatently stolen from openssh. */
+ * much of which was blatantly stolen from openssh. */
/*-
* Copyright (c) 1992, 1993
@@ -850,7 +850,7 @@ progressmeter(int flag)
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: wget.c,v 1.73 2004/04/08 10:27:11 bug1 Exp $
+ * $Id: wget.c,v 1.74 2004/04/14 17:51:24 andersen Exp $
*/