Author: tretiakov
Date: Sat Apr 22 08:50:37 2006
New Revision: 21692
URL:
http://svn.reactos.ru/svn/reactos?rev=21692&view=rev
Log:
Respect wine's indentation. Tabs -> spaces.
Modified:
trunk/reactos/dll/win32/rpcrt4/ndr_contexth.h
trunk/reactos/dll/win32/rpcrt4/rpc_binding.c
Modified: trunk/reactos/dll/win32/rpcrt4/ndr_contexth.h
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/rpcrt4/ndr_contex…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/ndr_contexth.h (original)
+++ trunk/reactos/dll/win32/rpcrt4/ndr_contexth.h Sat Apr 22 08:50:37 2006
@@ -26,22 +26,22 @@
typedef struct _ContextHandleNdr
{
- UINT attributes;
- UUID uuid;
+ UINT attributes;
+ UUID uuid;
} ContextHandleNdr;
typedef struct _CContextHandle
{
- RpcBinding *Binding;
- ContextHandleNdr Ndr;
+ RpcBinding *Binding;
+ ContextHandleNdr Ndr;
} CContextHandle;
/*
Keep this structure compatible with public rpcndr.h
declaration, otherwise NDRSContextValue macro won't work.
typedef struct {
- void *pad[2];
- void *userContext;
+ void *pad[2];
+ void *userContext;
} *NDR_SCONTEXT;
*/
Modified: trunk/reactos/dll/win32/rpcrt4/rpc_binding.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpc_bindin…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpc_binding.c (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpc_binding.c Sat Apr 22 08:50:37 2006
@@ -599,34 +599,34 @@
RPC_BINDING_HANDLE SourceBinding,
RPC_BINDING_HANDLE* DestinationBinding)
{
- TRACE("RpcBindingCopy called\n");
- RpcBinding *DestBinding = 0, *SrcBinding = (RpcBinding*)SourceBinding;
-
- if(SrcBinding->server)
- {
- *DestinationBinding = NULL;
- return RPC_S_WRONG_KIND_OF_BINDING;
- }
+ TRACE("RpcBindingCopy(%p, %p) called:\n", SourceBinding,
DestinationBinding);
+ RpcBinding *DestBinding = 0, *SrcBinding = (RpcBinding*)SourceBinding;
+
+ if(SrcBinding->server)
+ {
+ *DestinationBinding = NULL;
+ return RPC_S_WRONG_KIND_OF_BINDING;
+ }
- DestBinding = (RpcBinding*)
- HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(RpcBinding));
-
- if(!DestBinding)
- {
- *DestinationBinding = NULL;
- return ERROR_NOT_ENOUGH_MEMORY;
- }
+ DestBinding = (RpcBinding*)
+ HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(RpcBinding));
+
+ if(!DestBinding)
+ {
+ *DestinationBinding = NULL;
+ return ERROR_NOT_ENOUGH_MEMORY;
+ }
- memcpy(DestBinding, SrcBinding, sizeof(RpcBinding));
- DestBinding->refs = 1;
- DestBinding->Next = NULL; // FIXME: ?
- DestBinding->server = FALSE;
- DestBinding->Protseq = RPCRT4_strndupA(SrcBinding->Protseq, -1);
- DestBinding->NetworkAddr = RPCRT4_strndupA(SrcBinding->NetworkAddr, -1);
- DestBinding->Endpoint = RPCRT4_strndupA(SrcBinding->Endpoint, -1);
-
- *DestinationBinding = DestBinding;
- return RPC_S_OK;
+ memcpy(DestBinding, SrcBinding, sizeof(RpcBinding));
+ DestBinding->refs = 1;
+ DestBinding->Next = NULL; // FIXME: ?
+ DestBinding->server = FALSE;
+ DestBinding->Protseq = RPCRT4_strndupA(SrcBinding->Protseq, -1);
+ DestBinding->NetworkAddr = RPCRT4_strndupA(SrcBinding->NetworkAddr, -1);
+ DestBinding->Endpoint = RPCRT4_strndupA(SrcBinding->Endpoint, -1);
+
+ *DestinationBinding = DestBinding;
+ return RPC_S_OK;
}
/***********************************************************************