Author: ekohl
Date: Sat Dec 29 20:51:38 2012
New Revision: 58045
URL:
http://svn.reactos.org/svn/reactos?rev=58045&view=rev
Log:
[NETAPI32]
Formatting! No code changes!
Modified:
trunk/reactos/dll/win32/netapi32/apibuf.c
Modified: trunk/reactos/dll/win32/netapi32/apibuf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/apibuf.…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/apibuf.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/apibuf.c [iso-8859-1] Sat Dec 29 20:51:38 2012
@@ -54,19 +54,20 @@
LPVOID* NewBuffer)
{
TRACE("(%p, %d, %p)\n", OldBuffer, NewByteCount, NewBuffer);
- if (NewByteCount)
+ if (NewByteCount)
{
if (OldBuffer)
*NewBuffer = HeapReAlloc(GetProcessHeap(), 0, OldBuffer, NewByteCount);
else
*NewBuffer = HeapAlloc(GetProcessHeap(), 0, NewByteCount);
- return *NewBuffer ? NERR_Success : GetLastError();
- }
- else
+ return *NewBuffer ? NERR_Success : GetLastError();
+ }
+ else
{
- if (!HeapFree(GetProcessHeap(), 0, OldBuffer)) return GetLastError();
- *NewBuffer = 0;
- return NERR_Success;
+ if (!HeapFree(GetProcessHeap(), 0, OldBuffer))
+ return GetLastError();
+ *NewBuffer = 0;
+ return NERR_Success;
}
}