s3: Fix a structure mess-up
authorVolker Lendecke <vl@samba.org>
Mon, 26 Jul 2010 05:49:58 +0000 (07:49 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 26 Jul 2010 07:51:36 +0000 (09:51 +0200)
I wonder why the compiler did not complain -- maybe because
the structs have the same data members? No clue.

source3/libsmb/clifile.c

index 07af894d343ea328d68b94c2699b9d3a14256768..802fab95a06b1b1cfbd9272f9e4486daa187eb08 100644 (file)
@@ -591,7 +591,7 @@ struct tevent_req *cli_posix_getfacl_send(TALLOC_CTX *mem_ctx,
                                        const char *fname)
 {
        struct tevent_req *req = NULL, *subreq = NULL;
-       struct link_state *state = NULL;
+       struct getfacl_state *state = NULL;
 
        req = tevent_req_create(mem_ctx, &state, struct getfacl_state);
        if (req == NULL) {