]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - lib/smblib/smblib-api.c
Source Format Enforcement (#1234)
[thirdparty/squid.git] / lib / smblib / smblib-api.c
index 59a4db000acd1c8d9d598a0789c3129b615994f6..79c4fa350e780d6effe65a412010e994e94188be 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -112,7 +112,7 @@ int SMBapi_NetUserPasswordSet(SMB_Tree_Handle tree, char *user,
 
     SSVAL(SMB_Hdr(pkt), SMB_trans_len, param_len + strlen(SMB_LMAPI_SLOT) + 1);
 
-    p = SMB_Hdr(pkt) + SMB_trans_len + 2;  /* Skip the BCC and ect */
+    p = SMB_Hdr(pkt) + SMB_trans_len + 2;  /* Skip the BCC and etc */
 
     strcpy(p, SMB_LMAPI_SLOT);
     p = p + strlen(SMB_LMAPI_SLOT) + 1;
@@ -284,7 +284,7 @@ int SMBapi_NetSetUserInfo(SMB_Tree_Handle tree, char *user,
     SSVAL(SMB_Hdr(pkt), SMB_trans_len, param_len + strlen(SMB_LMAPI_SLOT) +
           1 + data_len);
 
-    p = SMB_Hdr(pkt) + SMB_trans_len + 2;  /* Skip the BCC and ect */
+    p = SMB_Hdr(pkt) + SMB_trans_len + 2;  /* Skip the BCC and etc */
 
     strcpy(p, SMB_LMAPI_SLOT);
     p = p + strlen(SMB_LMAPI_SLOT) + 1;