Add trailing '\n's to ok() and trace() calls.
This commit is contained in:
parent
f71c5b4ee3
commit
d0c5f1498c
|
@ -206,14 +206,14 @@ SECURITY_STATUS setupBuffers(PSecBufferDesc *new_in_buf,
|
||||||
PSecBuffer sec_buffer = HeapAlloc(GetProcessHeap(), 0,
|
PSecBuffer sec_buffer = HeapAlloc(GetProcessHeap(), 0,
|
||||||
sizeof(SecBuffer));
|
sizeof(SecBuffer));
|
||||||
if(sec_buffer == NULL){
|
if(sec_buffer == NULL){
|
||||||
trace("in_buf: sec_buffer == NULL");
|
trace("in_buf: sec_buffer == NULL\n");
|
||||||
return SEC_E_INSUFFICIENT_MEMORY;
|
return SEC_E_INSUFFICIENT_MEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
buffer = HeapAlloc(GetProcessHeap(), 0, size);
|
buffer = HeapAlloc(GetProcessHeap(), 0, size);
|
||||||
|
|
||||||
if(buffer == NULL){
|
if(buffer == NULL){
|
||||||
trace("in_buf: buffer == NULL");
|
trace("in_buf: buffer == NULL\n");
|
||||||
return SEC_E_INSUFFICIENT_MEMORY;
|
return SEC_E_INSUFFICIENT_MEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -239,14 +239,14 @@ SECURITY_STATUS setupBuffers(PSecBufferDesc *new_in_buf,
|
||||||
PBYTE buffer = NULL;
|
PBYTE buffer = NULL;
|
||||||
|
|
||||||
if(sec_buffer == NULL){
|
if(sec_buffer == NULL){
|
||||||
trace("out_buf: sec_buffer == NULL");
|
trace("out_buf: sec_buffer == NULL\n");
|
||||||
return SEC_E_INSUFFICIENT_MEMORY;
|
return SEC_E_INSUFFICIENT_MEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
buffer = HeapAlloc(GetProcessHeap(), 0, size);
|
buffer = HeapAlloc(GetProcessHeap(), 0, size);
|
||||||
|
|
||||||
if(buffer == NULL){
|
if(buffer == NULL){
|
||||||
trace("out_buf: buffer == NULL");
|
trace("out_buf: buffer == NULL\n");
|
||||||
return SEC_E_INSUFFICIENT_MEMORY;
|
return SEC_E_INSUFFICIENT_MEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -249,7 +249,7 @@ static void test_GetPrinterDriverDirectory(void)
|
||||||
res = GetPrinterDriverDirectoryA( NULL, NULL, 1, NULL, cbBuf, NULL);
|
res = GetPrinterDriverDirectoryA( NULL, NULL, 1, NULL, cbBuf, NULL);
|
||||||
ok(res || (GetLastError() == RPC_X_NULL_REF_POINTER),
|
ok(res || (GetLastError() == RPC_X_NULL_REF_POINTER),
|
||||||
"returned %d with %ld (expected '!=0' or '0' with " \
|
"returned %d with %ld (expected '!=0' or '0' with " \
|
||||||
"RPC_X_NULL_REF_POINTER)", res, GetLastError());
|
"RPC_X_NULL_REF_POINTER)\n", res, GetLastError());
|
||||||
|
|
||||||
|
|
||||||
/* with a valid buffer, but level is too large */
|
/* with a valid buffer, but level is too large */
|
||||||
|
|
Loading…
Reference in New Issue