]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libgpo: Use ISDOT/ISDOTDOT
authorVolker Lendecke <vl@samba.org>
Wed, 14 Jan 2026 09:31:57 +0000 (10:31 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 20 Jan 2026 11:53:34 +0000 (11:53 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
libgpo/gpo_filesync.c

index 07234dc37a48d5995606475df517e98a1f6a24fd..980e53a27c29e65abf63b2b19a2ae11409738352 100644 (file)
@@ -148,7 +148,7 @@ static NTSTATUS gpo_sync_func(struct file_info *info,
 
        ctx = (struct sync_context *)state;
 
-       if (strequal(info->name, ".") || strequal(info->name, "..")) {
+       if (ISDOT(info->name) || ISDOTDOT(info->name)) {
                return NT_STATUS_OK;
        }