r23792: convert Samba4 to GPLv3
[samba.git] / source4 / dsdb / repl / drepl_out_helpers.c
index 7ff9efeb0a9951ea1c69ad810a3d8b527d17bc58..db44232446d05787fb2d6f8304983c0a276e8c43 100644 (file)
@@ -6,7 +6,7 @@
     
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
@@ -15,8 +15,7 @@
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
 */
 
@@ -123,7 +122,7 @@ static void dreplsrv_out_drsuapi_bind_send(struct dreplsrv_out_drsuapi_state *st
 
 static void dreplsrv_out_drsuapi_bind_recv(struct rpc_request *req)
 {
-       struct dreplsrv_out_drsuapi_state *st = talloc_get_type(req->async.private,
+       struct dreplsrv_out_drsuapi_state *st = talloc_get_type(req->async.private_data,
                                                struct dreplsrv_out_drsuapi_state);
        struct composite_context *c = st->creq;
 
@@ -286,7 +285,7 @@ static void dreplsrv_op_pull_source_apply_changes_send(struct dreplsrv_op_pull_s
 
 static void dreplsrv_op_pull_source_get_changes_recv(struct rpc_request *req)
 {
-       struct dreplsrv_op_pull_source_state *st = talloc_get_type(req->async.private,
+       struct dreplsrv_op_pull_source_state *st = talloc_get_type(req->async.private_data,
                                                   struct dreplsrv_op_pull_source_state);
        struct composite_context *c = st->creq;
        struct drsuapi_DsGetNCChanges *r = talloc_get_type(req->ndr.struct_ptr,