diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-06-30 23:06:50 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-06-30 23:06:50 +0000 |
commit | 4e08fc8246ee99e9aab0842531d4363c66351108 (patch) | |
tree | a3f060f7262e2ca2227f664d534abc43164bf703 /navit/navit.c | |
parent | c34ab32c2c088cd93d9f4dc60831a65bf451e4c7 (diff) | |
download | navit-4e08fc8246ee99e9aab0842531d4363c66351108.tar.gz |
Fix:core:Log errors with level 0.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5541 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.c')
-rw-r--r-- | navit/navit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/navit/navit.c b/navit/navit.c index f4213ce50..1f75739ab 100644 --- a/navit/navit.c +++ b/navit/navit.c @@ -869,12 +869,12 @@ navit_cmd_map_add_curr_pos(struct navit *this, char *function, struct attr **in, ) { if(!(ms=navit_get_mapset(this))) { - dbg(1, "Command function map_add_curr_pos(): there is no active mapset\n"); + dbg(0, "Command function map_add_curr_pos(): there is no active mapset\n"); return; } if((item_type = item_from_name(in[1]->u.str))==type_none) { - dbg(1, "Command function map_add_curr_pos(): unknown item type\n"); + dbg(0, "Command function map_add_curr_pos(): unknown item type\n"); return; } @@ -882,7 +882,7 @@ navit_cmd_map_add_curr_pos(struct navit *this, char *function, struct attr **in, //no map with the given name found if( ! curr_map) { - dbg(1, "Command function map_add_curr_pos(): map not found\n"); + dbg(0, "Command function map_add_curr_pos(): map not found\n"); return; } @@ -891,11 +891,11 @@ navit_cmd_map_add_curr_pos(struct navit *this, char *function, struct attr **in, if(vehicle_get_attr(this->vehicle->vehicle,attr_position_coord_geo,&pos_attr,NULL)) { transform_from_geo(projection_mg, pos_attr.u.coord_geo, &curr_coord); } else { - dbg(1, "Command function map_add_curr_pos(): vehicle position is not accessible\n"); + dbg(0, "Command function map_add_curr_pos(): vehicle position is not accessible\n"); return; } } else { - dbg(1, "Command function map_add_curr_pos(): no vehicle\n"); + dbg(0, "Command function map_add_curr_pos(): no vehicle\n"); return; } |