make style
This commit is contained in:
parent
37cf7554d9
commit
fef6517e27
2 changed files with 3 additions and 8 deletions
|
@ -81,11 +81,6 @@ log_put(const uint8_t group, const char *category, const uint8_t priority, const
|
|||
|
||||
va_list va;
|
||||
va_start(va, format);
|
||||
|
||||
// fprintf(stderr, "%s\t%s\t", log_priority_to_str(priority), category);
|
||||
// vfprintf(stderr, format, va);
|
||||
// fprintf(stderr, "\n");
|
||||
|
||||
log_put_internal("%s\t%s\t", log_priority_to_str(priority), category);
|
||||
log_vput_internal(format, va);
|
||||
log_put_internal("\n");
|
||||
|
|
|
@ -30,10 +30,10 @@ void
|
|||
log_output_debug(const char *format, va_list args)
|
||||
{
|
||||
char buffer[1024];
|
||||
HRESULT hr = StringCbVPrintf( buffer, sizeof( buffer ), format, args );
|
||||
HRESULT hr = StringCbVPrintf(buffer, sizeof(buffer), format, args);
|
||||
// Spew what we got, even if the buffer is not sized large enough
|
||||
if ( (STRSAFE_E_INSUFFICIENT_BUFFER == hr) || (S_OK == hr) )
|
||||
OutputDebugString( buffer );
|
||||
if ((STRSAFE_E_INSUFFICIENT_BUFFER == hr) || (S_OK == hr))
|
||||
OutputDebugString(buffer);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue