summaryrefslogtreecommitdiff
path: root/navit/search.c
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2014-03-16 22:23:35 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2014-03-16 22:23:35 +0000
commitf3d0002494d754d0977b4cff3eaa84a9a30f8cb9 (patch)
tree7b0fc6caeb0134e7a5553015f1ac1336afade305 /navit/search.c
parent8866dd7e2d9e95ca50d44eaa4feee1c9a2ea7290 (diff)
downloadnavit-svn-f3d0002494d754d0977b4cff3eaa84a9a30f8cb9.tar.gz
Fix:core:Better logging during search.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5754 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/search.c')
-rw-r--r--navit/search.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/navit/search.c b/navit/search.c
index 29b2b787..adbf808a 100644
--- a/navit/search.c
+++ b/navit/search.c
@@ -362,6 +362,7 @@ search_list_search(struct search_list *this_, struct attr *search_attr, int part
{
struct search_list_level *le;
int level;
+ dbg(2,"Starting search for '=%s' of type %s\n", search_attr->u.str, attr_to_name(search_attr->type));
search_address_results_free(this_);
if (search_attr->type == attr_address) {
search_by_address(this_, search_attr->u.str);
@@ -372,7 +373,6 @@ search_list_search(struct search_list *this_, struct attr *search_attr, int part
level=search_list_level(search_attr->type);
this_->item=NULL;
interpolation_clear(&this_->inter);
- //dbg(0,"level=%d\n", level);
if (level != -1) {
this_->result.id=0;
this_->level=level;
@@ -384,7 +384,6 @@ search_list_search(struct search_list *this_, struct attr *search_attr, int part
le=&this_->levels[level-1];
le->curr=le->list;
}
- //dbg(0,"le=%p partial=%d\n", le, partial);
} else if (search_attr->type == attr_postal) {
g_free(this_->postal);
this_->postal=g_strdup(search_attr->u.str);