s3: Fix some typos
authorVolker Lendecke <vl@samba.org>
Mon, 6 Dec 2010 13:05:49 +0000 (14:05 +0100)
committerVolker Lendecke <vlendec@samba.org>
Sun, 19 Dec 2010 22:25:06 +0000 (23:25 +0100)
docs-xml/manpages-3/vfs_crossrename.8.xml
source3/lib/util_sock.c
source3/smbd/filename.c
source3/smbd/vfs.c
source3/winbindd/idmap_hash/idmap_hash.c

index f5a4444739e35654c8b0c642d3da34dc5f4bf9a7..ba7c7c8419731896b7003a0913e88ea5b70c7bdc 100644 (file)
@@ -31,7 +31,7 @@
 
        <para>The <command>vfs_crossrename</command> VFS module allows
        server side rename operations even if source and target are on
-       differen physical devices. A "move" in Explorer is usually a
+       different physical devices. A "move" in Explorer is usually a
        rename operation if it is inside of a single share or device.
        Usually such a rename operation returns
        NT_STATUS_NOT_SAME_DEVICE and the client has to move the file by
index 6782249bf6e5ad554fe7c22b55b07efca6e56048..64cd74c328ab1a20bb95aa37f41bfe92d7763ff2 100644 (file)
@@ -159,7 +159,7 @@ int get_socket_port(int fd)
 
        if (getsockname(fd, (struct sockaddr *)&sa, &length) < 0) {
                int level = (errno == ENOTCONN) ? 2 : 0;
-               DEBUG(level, ("getpeername failed. Error was %s\n",
+               DEBUG(level, ("getsockname failed. Error was %s\n",
                               strerror(errno)));
                return -1;
        }
index 7bc86074008b999abe859b028f658cfd161f15fa..bd783232f680033eaf30802422146c9e6e5ce064 100644 (file)
@@ -370,7 +370,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
        start = smb_fname->base_name;
 
        /*
-        * If we're providing case insentive semantics or
+        * If we're providing case insensitive semantics or
         * the underlying filesystem is case insensitive,
         * then a case-normalized hit in the stat-cache is
         * authoratitive. JRA.
@@ -388,7 +388,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
 
        /*
         * Make sure "dirpath" is an allocated string, we use this for
-        * building the directories with asprintf and free it.
+        * building the directories with talloc_asprintf and free it.
         */
 
        if ((dirpath == NULL) && (!(dirpath = talloc_strdup(ctx,"")))) {
@@ -454,7 +454,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
 
                /*
                 * A special case - if we don't have any wildcards or mangling chars and are case
-                * sensitive or the underlying filesystem is case insentive then searching
+                * sensitive or the underlying filesystem is case insensitive then searching
                 * won't help.
                 */
 
index ee70a3d583f3f3da64ed076dd77c3bdd834f6a07..c636cbcb5e3d0b368063e9a147274df503f45f98 100644 (file)
@@ -929,7 +929,7 @@ NTSTATUS check_reduced_name(connection_struct *conn, const char *fname)
                                                status = NT_STATUS_OBJECT_PATH_NOT_FOUND;
                                        }
 
-                                       DEBUG(3,("check_reduce_named: "
+                                       DEBUG(3,("check_reduce_name: "
                                                 "couldn't get realpath for "
                                                 "%s (%s)\n",
                                                fname,
index 08e283cd57f8344efcc4a0e6dde65a2d0369e76c..c52a90f82b7a559a344b065bf36a2bdbd1280bdd 100644 (file)
@@ -114,7 +114,7 @@ static NTSTATUS be_init(struct idmap_domain *dom,
        size_t num_domains = 0;
        int i;
 
-       /* If the domain SID hash talbe has been initialized, assume
+       /* If the domain SID hash table has been initialized, assume
           that we completed this function previously */
 
        if ( hashed_domains ) {