s3: Fix some nonempty blank lines and some typos
authorVolker Lendecke <vl@samba.org>
Tue, 8 Feb 2011 22:08:21 +0000 (23:08 +0100)
committerVolker Lendecke <vlendec@samba.org>
Tue, 8 Feb 2011 23:01:45 +0000 (00:01 +0100)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb  9 00:01:45 CET 2011 on sn-devel-104

source3/include/packet.h
source3/lib/packet.c
source3/lib/util_sock.c
source3/rpc_server/srv_spoolss_util.c
source3/utils/smbfilter.c
source3/winbindd/winbindd_samr.c

index 45a9bc2ef19dec3cfb94b3b781f3661328047114..a77a1a7cbc438b3d2e4bb111f3f8a8ae23c38a14 100644 (file)
@@ -2,17 +2,17 @@
    Unix SMB/CIFS implementation.
    Packet handling
    Copyright (C) Volker Lendecke 2007
-   
+
    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; either version 3 of the License, or
    (at your option) any later version.
-   
+
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
-   
+
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
index fefb74a0c57c8f37b6222e763061360297b9f919..1abf35c51a525b3466af052e3055a29420f1df28 100644 (file)
@@ -2,17 +2,17 @@
    Unix SMB/CIFS implementation.
    Packet handling
    Copyright (C) Volker Lendecke 2007
-   
+
    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; either version 3 of the License, or
    (at your option) any later version.
-   
+
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
-   
+
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
index 8b25e012c684bf69fb3ea5ff9feceefc1bb91a1f..d0ff960a3c88878c9e4ba4fe749b399146596c86 100644 (file)
@@ -111,7 +111,7 @@ char *print_canonical_sockaddr(TALLOC_CTX *ctx,
        } else {
                dest = talloc_asprintf(ctx, "%s", addr);
        }
-       
+
        return dest;
 }
 
index dc861f88109cd3f208521ef02d9f9d48f571bbdb..db575746f81109e0bfc3f29e38415e59a60e231e 100644 (file)
@@ -208,7 +208,7 @@ static uint32_t winreg_printer_rev_changeid(void)
 #else
        /*
         * This setting seems to work well but is too untested
-        * to replace the above calculation.  Left in for experiementation
+        * to replace the above calculation.  Left in for experimentation
         * of the reader            --jerry (Tue Mar 12 09:15:05 CST 2002)
         */
        return tv.tv_sec * 10 + tv.tv_usec / 100000;
index 136047adde9e4e0830f1ba9d0817e57caa47c0d2..3e683b96a18b0777270fb842c177876ba3efb0be 100644 (file)
@@ -2,17 +2,17 @@
    Unix SMB/CIFS implementation.
    SMB filter/socket plugin
    Copyright (C) Andrew Tridgell 1999
-   
+
    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; either version 3 of the License, or
    (at your option) any later version.
-   
+
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
-   
+
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
@@ -193,14 +193,14 @@ static void filter_child(int c, struct sockaddr_storage *dest_ss)
        while (c != -1 || s != -1) {
                fd_set fds;
                int num;
-               
+
                FD_ZERO(&fds);
                if (s != -1) FD_SET(s, &fds);
                if (c != -1) FD_SET(c, &fds);
 
                num = sys_select_intr(MAX(s+1, c+1),&fds,NULL,NULL,NULL);
                if (num <= 0) continue;
-               
+
                if (c != -1 && FD_ISSET(c, &fds)) {
                        size_t len;
                        if (!NT_STATUS_IS_OK(receive_smb_raw(
@@ -247,7 +247,7 @@ static void start_filter(char *desthost)
 
        zero_sockaddr(&my_ss);
        s = open_socket_in(SOCK_STREAM, 445, 0, &my_ss, True);
-       
+
        if (s == -1) {
                d_printf("bind failed\n");
                exit(1);
@@ -267,7 +267,7 @@ static void start_filter(char *desthost)
                int num;
                struct sockaddr_storage ss;
                socklen_t in_addrlen = sizeof(ss);
-               
+
                FD_ZERO(&fds);
                FD_SET(s, &fds);
 
index ef27d3828e8c23603a157fd6e2f0f02b4989bcbe..d33a3097d61a646a5581d0fee660ac0bf8dd4914 100644 (file)
@@ -141,7 +141,7 @@ static NTSTATUS open_internal_lsa_pipe(TALLOC_CTX *mem_ctx,
                }
        }
 
-       /* create a samr connection */
+       /* create a lsa connection */
        status = rpc_pipe_open_interface(mem_ctx,
                                        &ndr_table_lsarpc.syntax_id,
                                        server_info,