summaryrefslogtreecommitdiff
path: root/navit/item.c
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2014-11-22 22:34:19 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2014-11-22 22:34:19 +0000
commit0a57b790871b27ea6fd3b1ba97474dddcce7845f (patch)
tree0ad46b248e42f96e93b54874aa3b073ad1273aa1 /navit/item.c
parentcffcb036be4aa6097d064c5fb55f3de1a84b23d0 (diff)
downloadnavit-svn-0a57b790871b27ea6fd3b1ba97474dddcce7845f.tar.gz
Refactor:core:Introduce enum for debug levels, and use it everywhere.|First part of #1269.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5960 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/item.c')
-rw-r--r--navit/item.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/item.c b/navit/item.c
index 5b72d023..3f865c19 100644
--- a/navit/item.c
+++ b/navit/item.c
@@ -393,7 +393,7 @@ item_hash_insert(struct item_hash *h, struct item *item, void *val)
{
struct item *hitem=g_new(struct item, 1);
*hitem=*item;
- dbg(2,"inserting (0x%x,0x%x) into %p\n", item->id_hi, item->id_lo, h->h);
+ dbg(lvl_info,"inserting (0x%x,0x%x) into %p\n", item->id_hi, item->id_lo, h->h);
g_hash_table_insert(h->h, hitem, val);
}
@@ -402,9 +402,9 @@ item_hash_remove(struct item_hash *h, struct item *item)
{
int ret;
- dbg(2,"removing (0x%x,0x%x) from %p\n", item->id_hi, item->id_lo, h->h);
+ dbg(lvl_info,"removing (0x%x,0x%x) from %p\n", item->id_hi, item->id_lo, h->h);
ret=g_hash_table_remove(h->h, item);
- dbg(2,"ret=%d\n", ret);
+ dbg(lvl_info,"ret=%d\n", ret);
return ret;
}