diff --git a/libnfc/log-printf.c b/libnfc/log-printf.c index a0c1513..3f912be 100644 --- a/libnfc/log-printf.c +++ b/libnfc/log-printf.c @@ -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"); diff --git a/libnfc/log_win32.c b/libnfc/log_win32.c index 3713cfb..81196a7 100644 --- a/libnfc/log_win32.c +++ b/libnfc/log_win32.c @@ -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