]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_fruit: Fix 63f0b59cbed
authorVolker Lendecke <vl@samba.org>
Sun, 19 Jan 2025 16:27:56 +0000 (17:27 +0100)
committerAnoop C S <anoopcs@samba.org>
Mon, 20 Jan 2025 08:00:24 +0000 (08:00 +0000)
After 30 years of coding C, pointers and macros are still error-prone :-(

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Mon Jan 20 08:00:24 UTC 2025 on atb-devel-224

source3/modules/vfs_fruit.c

index 39deb16105d72b5bcf486170bf5cb70539302f2d..76ab0f8009df2308bd7d812ea58ee1e92671a001 100644 (file)
@@ -424,7 +424,7 @@ static void filter_empty_rsrc_stream(unsigned int *num_streams,
                if (strequal_m(s->name, AFPRESOURCE_STREAM) &&
                    (s->size == 0)) {
                        TALLOC_FREE(s->name);
-                       ARRAY_DEL_ELEMENT(streams, i, *num_streams);
+                       ARRAY_DEL_ELEMENT((*streams), i, *num_streams);
                        *num_streams -= 1;
                        return;
                }