SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,18 @@
--- mp_msg.c.orig Thu Jan 18 12:31:44 2007
+++ mp_msg.c Thu Jan 18 12:32:51 2007
@@ -7,10 +7,15 @@
#include "mp_msg.h"
+extern int debug_messages;
+
void
mp_msg (int module, int level, const char *format, ...)
{
va_list va;
+
+ if (level == MSGL_DBG2 && !debug_messages)
+ return;
va_start (va, format);
vfprintf (stderr, format, va);