svn commit: samba r8567 - in branches/SAMBA_4_0/source/lib/com/dcom: .

tridge at samba.org tridge at samba.org
Tue Jul 19 01:33:38 GMT 2005


Author: tridge
Date: 2005-07-19 01:33:38 +0000 (Tue, 19 Jul 2005)
New Revision: 8567

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8567

Log:
fixed the build after the com idl changes

Jelmer, can you please check that I got this right?

Modified:
   branches/SAMBA_4_0/source/lib/com/dcom/main.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/com/dcom/main.c
===================================================================
--- branches/SAMBA_4_0/source/lib/com/dcom/main.c	2005-07-19 01:17:48 UTC (rev 8566)
+++ branches/SAMBA_4_0/source/lib/com/dcom/main.c	2005-07-19 01:33:38 UTC (rev 8567)
@@ -164,7 +164,7 @@
 	r.in.protseq = protseq;
 	r.in.Interfaces = num_ifaces;
 	r.in.pIIDs = iid;
-	r.out.ifaces = talloc_array(ctx, struct pMInterfacePointer, num_ifaces);
+	r.out.ifaces = talloc_array(ctx, struct MInterfacePointer *, num_ifaces);
 	r.out.pdsaOxidBindings = &dualstring;
 	
 	status = dcerpc_RemoteActivation(p, ctx, &r);
@@ -186,7 +186,7 @@
 		results[i] = r.out.results[i];
 		(*ip)[i] = NULL;
 		if (W_ERROR_IS_OK(results[i])) {
-			status = dcom_IUnknown_from_OBJREF(ctx, &(*ip)[i], &r.out.ifaces[i].ip->obj);
+			status = dcom_IUnknown_from_OBJREF(ctx, &(*ip)[i], &r.out.ifaces[i]->obj);
 			if (!NT_STATUS_IS_OK(status)) {
 				results[i] = ntstatus_to_werror(status);
 			}
@@ -208,7 +208,7 @@
 	struct DUALSTRINGARRAY dualstring;
 	NTSTATUS status;
 	struct MInterfacePointer pm;
-	struct pMInterfacePointer ifaces[1];
+	struct MInterfacePointer *ifaces[1];
 	uint16_t protseq[] = DCOM_NEGOTIATED_PROTOCOLS;
 
 	if (!server) {
@@ -233,7 +233,7 @@
 	r.in.pIIDs = iid;
 	r.in.Mode = MODE_GET_CLASS_OBJECT;
 	r.out.ifaces = ifaces;
-	ifaces[0].ip = ±
+	ifaces[0] = ±
 	r.out.pdsaOxidBindings = &dualstring;
 
 	status = dcerpc_RemoteActivation(p, ctx, &r);



More information about the samba-cvs mailing list