Fix spelling s/retun/return/
authorMathieu Parent <math.parent@gmail.com>
Fri, 4 May 2018 20:23:45 +0000 (22:23 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 12 May 2018 00:09:27 +0000 (02:09 +0200)
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
ctdb/common/sock_daemon.h
source3/client/client.c
source4/torture/raw/setfileinfo.c

index a2c4d3de77872e1736a8ec9f22751d5dc3511c79..aa40995b3e4380c9bf869b9c2ea4198581f5fbd9 100644 (file)
@@ -110,7 +110,7 @@ struct sock_daemon_funcs {
  *
  * @param[in] client The new socket client context
  * @param[in] private_data Private data set with the socket
- * @retun true if connection should be accepted, false otherwise
+ * @return true if connection should be accepted, false otherwise
  *
  *
  * disconnect() is called  when client closes connection
index 1429b44e9cf1a75f5212749ecf123baf83133b02..8dbf7474d25bcf4d1714da4a7cd36ba4930d4ff1 100644 (file)
@@ -5564,7 +5564,7 @@ static struct {
   {"posix_mkdir",cmd_posix_mkdir,"<name> 0<mode> creates a directory using POSIX interface",{COMPL_REMOTE,COMPL_NONE}},
   {"posix_rmdir",cmd_posix_rmdir,"<name> removes a directory using POSIX interface",{COMPL_REMOTE,COMPL_NONE}},
   {"posix_unlink",cmd_posix_unlink,"<name> removes a file using POSIX interface",{COMPL_REMOTE,COMPL_NONE}},
-  {"posix_whoami",cmd_posix_whoami,"retun logged on user information "
+  {"posix_whoami",cmd_posix_whoami,"return logged on user information "
                        "using POSIX interface",{COMPL_REMOTE,COMPL_NONE}},
   {"print",cmd_print,"<file name> print a file",{COMPL_NONE,COMPL_NONE}},
   {"prompt",cmd_prompt,"toggle prompting for filenames for mget and mput",{COMPL_NONE,COMPL_NONE}},
index a08191d0bf252ad8be51786f7a20ca410431fc92..45ff8195c1997a905e6cbaebea8a18c8c564195c 100644 (file)
@@ -825,7 +825,7 @@ torture_raw_sfileinfo_eof(struct torture_context *tctx,
        sfi.end_of_file_info.in.size = 200;
        status = smb_raw_setpathinfo(cli2->tree, &sfi);
 
-       /* This should cause the client to retun invalid level. */
+       /* This should cause the client to return invalid level. */
        if (TARGET_IS_W2K8(tctx) || TARGET_IS_WIN7(tctx)) {
                /*
                 * Windows sends back an invalid packet that smbclient sees