Add fmt-based Debug macro for upstream

This commit is contained in:
Jonathan G Rennison
2023-03-03 23:59:49 +00:00
parent a2d2dcd3d5
commit 3549d5be20
3 changed files with 26 additions and 1 deletions

View File

@@ -139,7 +139,7 @@ char *DumpDebugFacilityNames(char *buf, char *last)
* @param dbg Debug category.
* @param buf Text line to output.
*/
static void debug_print(const char *dbg, const char *buf)
void debug_print(const char *dbg, const char *buf)
{
if (_debug_socket != INVALID_SOCKET) {
char buf2[1024 + 32];