summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-10-26 23:54:25 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-10-26 23:54:25 +0000
commitd148a15c6cffb25dd880f7d300a9efd8754164b8 (patch)
tree4f5b7efd38a7d86aceb99bfb1e3a585a0cd7e976 /source3/lib
parent1f511942b21eedf3d3c23964c880b94b08a42c4a (diff)
downloadsamba-d148a15c6cffb25dd880f7d300a9efd8754164b8.tar.gz
samba-d148a15c6cffb25dd880f7d300a9efd8754164b8.tar.bz2
samba-d148a15c6cffb25dd880f7d300a9efd8754164b8.zip
A few spelling fixes from Vance. <vance@digital-host.net>
Thanks! (This used to be commit 5fda15463a63018d917fbd7d6d9dd1fb0b2558cf)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_list.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/lib/util_list.c b/source3/lib/util_list.c
index 5fe2914a92..8f6761135b 100644
--- a/source3/lib/util_list.c
+++ b/source3/lib/util_list.c
@@ -30,15 +30,15 @@
The reason this is necessary is that the GENERIC_LIST uses a
void pointer to store your data structure. This means that
- you get no type checking and can create a hetergenous list.
+ you get no type checking and can create a heterogenous list.
However, you will need to have some way to determine the type
of your data. If you are using a homogenous list, then
wrapper functions are the easiest way. If you are creating
- a hetergenous list, then you will need to use the type field
+ a heterogenous list, then you will need to use the type field
for your arbitrary identifiers.
TODO:
- If neccessary, you can add a few generic_list_*() to do things
+ If necessary, you can add a few generic_list_*() to do things
like grab from the front (to implement a FIFO queue) or from
the tail (to implement a FILO stack)
****************************************************************/
@@ -54,7 +54,7 @@ static GENERIC_LIST hnds;
/****************************************************************
Initialize the list. This doesn't do much currently. Just make
- sure that you call it so we can determine wether the list is
+ sure that you call it so we can determine whether the list is
empty or not.
****************************************************************/
static void generic_list_init(GENERIC_LIST *l)
@@ -110,7 +110,7 @@ static BOOL generic_list_insert(GENERIC_LIST *l,
}
/****************************************************************
- In order to locate an item in the list we need a pointer to
+ In order to locate an item in the list, we need a pointer to
a compare function for the data items.
We will return the actual pointer to the item in the list. Not
@@ -177,7 +177,7 @@ static void* generic_list_locate (GENERIC_LIST *l, void *search,
SAFE_FREE(item);
return data_ptr;
}
- /* increment to the nbext node in the list */
+ /* increment to the next node in the list */
else
{
tag = item;
@@ -218,12 +218,12 @@ BOOL copy_policy_hnd (POLICY_HND *dest, const POLICY_HND *src)
/***************************************************************
- Return True if the to RPC_HND_NODEs are eqivalent in value.
+ Return True if the to RPC_HND_NODEs are equivalent in value.
Return False if they are not. Since a POLICY_HND is really
a UUID, two RPC_HND_NODES are considered to be the same if the
POLICY_HND value matches.
- No ordering betweeen the two is attempted.
+ No ordering between the two is attempted.
**************************************************************/
BOOL compare_rpc_hnd_node(const RPC_HND_NODE *x,
const RPC_HND_NODE *y)