Correct "allready" typos.
authorChris Lamb <chris@chris-lamb.co.uk>
Fri, 17 Feb 2017 20:02:09 +0000 (09:02 +1300)
committerGarming Sam <garming@samba.org>
Wed, 22 Feb 2017 07:26:24 +0000 (08:26 +0100)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source3/smbd/ntquotas.c

index 4acfa5057ed0201f17271c08d7bb0e742d8a2b95..8a44f7c674a4ef7b761a068ef2d1c4e8e859a05e 100644 (file)
@@ -139,7 +139,7 @@ int vfs_set_ntquota(files_struct *fsp, enum SMB_QUOTA_TYPE qtype, struct dom_sid
        return ret;
 }
 
        return ret;
 }
 
-static bool allready_in_quota_list(SMB_NTQUOTA_LIST *qt_list, uid_t uid)
+static bool already_in_quota_list(SMB_NTQUOTA_LIST *qt_list, uid_t uid)
 {
        SMB_NTQUOTA_LIST *tmp_list = NULL;
        
 {
        SMB_NTQUOTA_LIST *tmp_list = NULL;
        
@@ -179,8 +179,8 @@ int vfs_get_user_ntquota_list(files_struct *fsp, SMB_NTQUOTA_LIST **qt_list)
 
                ZERO_STRUCT(tmp_qt);
 
 
                ZERO_STRUCT(tmp_qt);
 
-               if (allready_in_quota_list((*qt_list),usr->pw_uid)) {
-                       DEBUG(5,("record for uid[%ld] allready in the list\n",(long)usr->pw_uid));
+               if (already_in_quota_list((*qt_list),usr->pw_uid)) {
+                       DEBUG(5,("record for uid[%ld] already in the list\n",(long)usr->pw_uid));
                        continue;
                }
 
                        continue;
                }