Bläddra i källkod

Move increment/decrement debug messages to DBG2 level

tags/v0.9.3
Michael Brown 17 år sedan
förälder
incheckning
bc694ec768
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4
    4
      src/core/refcnt.c

+ 4
- 4
src/core/refcnt.c Visa fil

@@ -39,8 +39,8 @@ void ref_get ( struct refcnt *refcnt ) {
39 39
 
40 40
 	refcnt->refcnt++;
41 41
 
42
-	DBGC ( refcnt, "REFCNT %p incremented to %d\n",
43
-	       refcnt, refcnt->refcnt );
42
+	DBGC2 ( refcnt, "REFCNT %p incremented to %d\n",
43
+		refcnt, refcnt->refcnt );
44 44
 }
45 45
 
46 46
 /**
@@ -59,8 +59,8 @@ void ref_put ( struct refcnt *refcnt ) {
59 59
 		return;
60 60
 
61 61
 	refcnt->refcnt--;
62
-	DBGC ( refcnt, "REFCNT %p decremented to %d\n",
63
-	       refcnt, refcnt->refcnt );
62
+	DBGC2 ( refcnt, "REFCNT %p decremented to %d\n",
63
+		refcnt, refcnt->refcnt );
64 64
 
65 65
 	if ( refcnt->refcnt >= 0 )
66 66
 		return;

Laddar…
Avbryt
Spara