summaryrefslogtreecommitdiff
path: root/navit/navit.c
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-07-05 20:39:42 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-07-05 20:39:42 +0000
commitf63324207a5556be01cd660d9d5987338cd11379 (patch)
treed4eaeaa867c66c1894c19d62cf7172744993984f /navit/navit.c
parentc82ceac71d2a6fa237a3684046ab8227460dda4c (diff)
downloadnavit-svn-f63324207a5556be01cd660d9d5987338cd11379.tar.gz
Fix:core:Reduce debug output, use dbg() instead of printf.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5182 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.c')
-rw-r--r--navit/navit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/navit.c b/navit/navit.c
index 35f14e75..1f818479 100644
--- a/navit/navit.c
+++ b/navit/navit.c
@@ -1434,7 +1434,7 @@ navit_new(struct attr *parent, struct attr **attrs)
this_->messages = messagelist_new(attrs);
- dbg(0,"return %p\n",this_);
+ dbg(1,"return %p\n",this_);
return this_;
}
@@ -3346,7 +3346,7 @@ struct navit *
navit_ref(struct navit *this_)
{
this_->refcount++;
- dbg(0,"refcount %d\n",this_->refcount);
+ dbg(1,"refcount %d\n",this_->refcount);
return this_;
}
@@ -3354,7 +3354,7 @@ void
navit_unref(struct navit *this_)
{
this_->refcount--;
- dbg(0,"refcount %d\n",this_->refcount);
+ dbg(1,"refcount %d\n",this_->refcount);
if (this_->refcount <= 0)
navit_destroy(this_);
}